PHP + custom 401 redirect error.
Posted: Sat Mar 17, 2007 8:20 am
I'm using
ErrorDocument 401 /error.php
In my htaccess file in a protected folder on my ftp,
error.php redirects to index.php/mode/error/
But if I upload that htaccess file it doesn't ask to login anymore,
it immediately redirects to the error page..
when I just put a normal html file
ErrorDocument 401 /error.html
it works again...
any input?
ErrorDocument 401 /error.php
In my htaccess file in a protected folder on my ftp,
error.php redirects to index.php/mode/error/
But if I upload that htaccess file it doesn't ask to login anymore,
it immediately redirects to the error page..
when I just put a normal html file
ErrorDocument 401 /error.html
it works again...
any input?