You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mathijs van Veluw <bl...@hccnet.nl> on 2003/09/23 19:20:43 UTC
[users@httpd] Problems with mod_actions (Action text/html) and ErrorDocument
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 :).