SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict SunnaH's Avatar
    Join Date
    Aug 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Multiple 404 pages

    I am running an IIS server and I was wondering if it is possible to point a different 404 page specifically to webpages in a given folder: For example: the /archive/ directory had 10 .asp pages in it. I would like a 404 page displayed only associated to any .asp http request to that /archive/ directory/. The rest of my site has a general 404 page.
    -=SunnaH=-

  2. #2
    SitePoint Zealot
    Join Date
    Aug 2009
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, yes you can do it. Open IIS manager. Go to "Web Sites" => "you site" => "directory" - right click on the directory name you want to apply custom 404 error pages and select "Properties" from the context menu. Go to "Custom Errors" tab, click HTTP Error 404 -> Edit and select your custom file.

  3. #3
    SitePoint Addict SunnaH's Avatar
    Join Date
    Aug 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile

    Thank you very much for the reference.
    -=SunnaH=-


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
  •