httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mididoc Productions" <m...@mididoc.com>
Subject [users@httpd] htaccess
Date Mon, 29 May 2006 18:35:20 GMT
hi,

we have in the htaccess file a treatment for errors:

ErrorDocument 403 http://www.ourdomain.com
ErrorDocument 404 http://www.ourdomain.com
ErrorDocument 500 http://www.ourdomain.com

this is for redirecting any user to the mainpage, when he is searching a
file which does not exist.
this works with all files, also without extension.

but when the user inserts for example http://www.ourdomain.com/index.php

the browser jumps into an error message 404 file not found.
he doesn't redirect the user to the mainpage like always.

has anybody an idea to get this working?


many thanks


mike


---------------------------------------------------------------------
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