SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: ASP page as HTML

  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2004
    Location
    pakistan
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ASP page as HTML

    Hello friends, i want to show my ASP pages as HTML, in the address bar of IE or NE the ASP page extention for example (result.asp) should look like(result.html) how can i implenment this if anyone know about it pls tell me.
    THANKS.

    GOOD Bye.

  2. #2
    SitePoint Guru hgilbert's Avatar
    Join Date
    Dec 2004
    Location
    London
    Posts
    839
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    not possible


  3. #3
    Afrika
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    1,723
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to understand that the webserver. parses/reads every file extension before sending it out.

  4. #4
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Nelson BC
    Posts
    2,310
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can make IIS parse HTML files like ASP files...it's kinda dumb though.

    -Go to control panel/admin tools/IIS
    -Right click your virtual directory or web server (whatever you want to make it apply to), properties
    -Under Home Directory or Virtual Directory, click Configuration
    -Make a new entry exactly the same as the one for .asp, but with .html as the extension.
    -Rename all of your ASPs to .HTML
    -Ask yourself if it was worth the effort

  5. #5
    SitePoint Guru hgilbert's Avatar
    Join Date
    Dec 2004
    Location
    London
    Posts
    839
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok possible


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •