httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joost de Heer" <sang...@xs4all.nl>
Subject [users@httpd] Re: htaccess
Date Tue, 30 May 2006 19:55:55 GMT
Mididoc Productions wrote:
> 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?

Do you have the proper AllowOverride (FileInfo)?

Joost


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