[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] blankity blankin custon 404 pre directory < Please Revisit >



http://httpd.apache.org/docs/custom-error.html

http://www.apache.org/docs-2.0/custom-error.html
excerpt
Configuration
     Use of "ErrorDocument" is enabled for .htaccess files when the
"FileInfo" override is allowed.

     Here are some examples...

          ErrorDocument 500 /cgi-bin/crash-recover
          ErrorDocument 500 "Sorry, our script crashed. Oh dear
          ErrorDocument 500 http://xxx/
          ErrorDocument 404 /Lame_excuses/not_found.html
          ErrorDocument 401 /Subscription/how_to_subscribe.html

rehashing...
ErrorDocument 404 /notfound.shtml

I then use an include to either load a local file or a grabber script to
load an
external page..
path is relative to your folder or the root