![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
nevermind, i giv eup on this board....too many censors and 404's
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2004
Location: Cleveland & Atlanta
Posts: 6,706
|
hahahahaha
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
Thanks Jace, I got the jist of it I'll give it a try ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
Meta refresh didn't work. Damn
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Chafed.
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Drunk and Unruly
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
|
Quote:
![]()
__________________
I've trusted my sites to them for over a decade... Webair, bitches. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jan 2004
Posts: 1,238
|
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
__________________
Managed US/NL Hosting [ [Reality Check Network ] Dell XEON Servers + 1/2/3 TB Packages ICQ: 4-930-562 |
![]() |
![]() ![]() ![]() ![]() ![]() |