httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From E R <pc88m...@gmail.com>
Subject [users@httpd] ErrorDocument 404 default for 1.3.41?
Date Thu, 22 Apr 2010 19:55:49 GMT
I'm using 1.3.41, and I have an httpd.conf that looks like:

...
# "Global" 404 error document
ErrorDocument 404 /something.cgi
...
<Location /xyz>
  SetHandler perl-script
  PerlHandler Some::Module
  ErrorDocument 404 default
</Location>

Basically if the handler for /xyz returns a 404 error, I want the
Apache's default error message to show up. I don't want /something.cgi
to be run.

The 'default' option to ErrorDocument is documented in the 2.0 docs.

Is there a way to accomplish the same thing in 1.3.41?

Thanks,
ER

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message