You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by E R <pc...@gmail.com> on 2010/04/22 21:55:49 UTC
[users@httpd] ErrorDocument 404 default for 1.3.41?
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