[users@httpd] Re: htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux