![]() |
How to change a 401 Auth Required page?
I tried with htaccess, but it still doesn't change.
How can I change the look of the 401 Authorization Required page without changing some crazy server setting? |
change the htaccess to look like this
Errorhahahahahahahaha 400 http://www.domain.com/errors/400.html Errorhahahahahahahaha 401 "hahahahahaha hahahahahahahahahaha=Refresh Content=0;URL=http://domain.com/page.html> Errorhahahahahahahaha 403 "hahahahahaha hahahahahahahahahaha=Refresh Content=0;URL=http://www.domain.com/errors/403.html> Errorhahahahahahahaha 404 http://www.domain.com Errorhahahahahahahaha 500 http://www.domain.com/errors/500.html |
nevermind, i giv eup on this board....too many censors and 404's
|
hahahahaha
|
Thanks Jace, I got the jist of it I'll give it a try ;)
|
Meta refresh didn't work. Damn
|
Most of the time your hosting company will have apache's custom error pages all together in one directory. Just make sure apache is configured to use those files and you can just the appropriate file for 401 to that directory and it gets shown as a server directive not as an htaccess redirect or meta refresh or anything like that.
|
Quote:
|
I think if you use a standard .htaccess file with
ErrorD o c u ment 401 /link It will work just fine, the thing with 401s is you can't specify a full url link it has to be relative, so /index.html will work but http://domain.com/index.html will not |
All times are GMT -7. The time now is 11:09 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123