SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    phpLD Fanatic bronze trophy dvduval's Avatar
    Join Date
    Mar 2002
    Location
    Silicon Valley
    Posts
    3,627
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    index.html to index.asp

    I’ve been busy converting my website's static pages to ASP pages. I ran into one problem. Currently there is an index.html and an index.asp in the www directory. When I delete the index.html file, I would expect the site to default to index.asp, but instead I get an error message.

    Directory Listing Denied
    This Virtual Directory does not allow contents to be listed.

    This is the procedure I’ve used for PHP sites, but maybe there is a different rule I’m not familiar with

  2. #2
    ********* User Jmi's Avatar
    Join Date
    Dec 2002
    Location
    Australia
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1-go to the IIS and locate ur website
    2-under properties -> Documents tab
    3-make sure index.asp is there

    index.asp/index.htm is not part of IIS default document configuration, so you might wanna add it in there
    Last edited by Jmi; Apr 15, 2003 at 21:53.
    Signature not found.

  3. #3
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    By default, IIS will look for default.asp first. (pun not intended)

  4. #4
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    He didn't say anything about default.asp. I was just giving out a little tidbit of information, in case the original poster was not aware of that.

  5. #5
    ********* User Jmi's Avatar
    Join Date
    Dec 2002
    Location
    Australia
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    thx duckie, i edited my post
    Signature not found.


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
  •