httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathijs van Veluw" <black....@hccnet.nl>
Subject [users@httpd] Problems with mod_actions (Action text/html) and ErrorDocument
Date Tue, 23 Sep 2003 17:20:43 GMT
Hello ppl,

I Have an problem with an '.htaccess' file configuration.

I Have something like this:
#BEGIN
ErrorDocument 404 /404.html

Action text/html /cgi-bin/layout/layout.cgi
#END

Now when i get an 404 Error, the 'Action' part kicks in and tells that the page DOES excists
:(.
So http://foobar.com/doesnot.html will act as it does exsists :(.

If i comment-out the 'Action' part the 404.html wil work. 
There has to be an way to have this work both.
I Have tryed to switch-around the 2 lines(First the Action part then the ErrorDocument) but
this doesn't help.

Thx in advanced :).
Mime
View raw message