httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Reppucci <>
Subject Re: retain params while redirecting 404 error to script
Date Sat, 16 Mar 2002 13:10:46 GMT

Sounds like a job for mod_rewrite...

On Sat, 16 Mar 2002, JH Foo wrote:

> Hi guys,
> I was wondering if you have any solution to this problem:
> Like Hotmail, I am trying to customise a 404 error message to run a Perl script.
> So for example if I type, Apache should catch this as
a 404 error.
> I have configured Apache to handle 404 errors via the following:
> AllowOverride FileInfo
> ErrorDocument 404 /cgi/
> Basically Apache calls the script. But because the script requires a parameter (in the
above example, 'id'), the value did not get passed over.
> Is there any solution to this problem? If so, please advise.

Steve Reppucci                              |
Logical Choice Software                 |
=-=-=-=-=-=-=-=-=-=-  My God!  What have I done?  -=-=-=-=-=-=-=-=-=-=

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message