404 Page Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • version4
    Registered User
    • Mar 2003
    • 13

    #1

    404 Page Question

    Is there a way to have some code that if someone goes to a page that is a 404, it runs an SSI.

    As an example, if someone went to the webpage www.url.com/test1.shtml, the 404 would load the following:

    <!--#include virtual="page.cgi?test1.shtml" -->

    On the other hand, if someone went to the webpage www.url.com/test2.shtml, the 404 would load the following:

    <!--#include virtual="page.cgi?test2.shtml" -->

    Thanks
  • detoxed
    vip member
    • Jan 2003
    • 17798

    #2
    So they load blank and Thanks?

    Comment

    • version4
      Registered User
      • Mar 2003
      • 13

      #3
      Sorry, the last post cut out some of the message:

      *****************************************

      Is there a way to have some code that if someone goes to a page that is a 404, it runs an SSI.

      As an example, if someone went to the webpage www.url.com/test1.shtml, the 404 would load the following:

      #include virtual=" page.cgi?test-1.shtml "

      On the other hand, if someone went to the webpage www.url.com/test2.shtml, the 404 would load the following:

      #include virtual=" page.cgi?test2.shtml "

      Thanks

      Comment

      Working...