![]() |
![]() |
![]() |
||||
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: Jul 2001
Location: Out back
Posts: 492
|
Password protected member area htaccess...
I was just wondering what to put in my htaccess file for the members directory of a paysite to redirect people who dont put in the right password or username to another page? I have tried:
ErrorDocument 401 http://www.sitename.com/page.html but it isnt working? Is it possible? What am I doing wrong? Thanks! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2001
Location: Out back
Posts: 492
|
Thanks Amp, but 403 doesnt work either.
When I go to the page and enter the wrong password or whatever, I get this: 401 Authorization Required in the header. Any ideas? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jul 2001
Location: Out back
Posts: 492
|
bump...
Can anyone help me out?... Please? ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
God is Brazilian
Join Date: Feb 2001
Location: Brazil
Posts: 10,601
|
Have you tried to put just this line in an htaccess at your root directory ? Have no idea if it will work, but try it.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,482
|
http://www.eol.ca/support/business/password/
HTH ------------------ ![]() - the Official TGP2 Counter --> signup now for realtime stats, toplists and more...! - Submit Your Galleries Here to The Naughty Daily - EraserCash - $35/signup, unique commissionprogram |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Oct 2001
Location: LA
Posts: 162
|
which apache version u using ?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Jan 2001
Location: SVK
Posts: 406
|
I think you cannot redirect from 401 to another URL, but only to another page:
ErrorDocument 401 /gohere.html means gohere.html in your root directory will open. If you put http://www.mydomain.com/gohere.html there it won't work. XM ------------------ TOPBUCKS - EARN 40$/SIGN UP ,20 niche sites, multiple tours... AUTSON - Affordable hosting with GREAT support starting at $9.99/month + 2 weeks for free... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Oct 2001
Location: LA
Posts: 162
|
Quote:
-- andreas |
|
![]() |
![]() ![]() ![]() ![]() ![]() |