GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How to change a 401 Auth Required page? (https://gfy.com/showthread.php?t=274733)

BradM 04-25-2004 01:12 PM

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?

Jace 04-25-2004 01:16 PM

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

Jace 04-25-2004 01:16 PM

nevermind, i giv eup on this board....too many censors and 404's

AndrewKanuck 04-25-2004 01:19 PM

hahahahaha

BradM 04-25-2004 01:20 PM

Thanks Jace, I got the jist of it I'll give it a try ;)

BradM 04-25-2004 01:24 PM

Meta refresh didn't work. Damn

gornyhuy 04-25-2004 01:27 PM

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.

Pornwolf 04-25-2004 02:39 PM

Quote:

Originally posted by JaceXXX
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

:1orglaugh

zagi 04-25-2004 07:24 PM

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