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)
-   -   Password protected member area htaccess... (https://gfy.com/showthread.php?t=40955)

Scoobs 10-20-2001 10:50 PM

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!

Amputate Your Head 10-20-2001 11:04 PM

Cuz you should be using Errordocument 403.

------------------
http://www.theheadless.com/randomjunk/xp-btnbnr1.gif
60% RECURRING!

Scoobs 10-20-2001 11:09 PM

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?

Scoobs 10-21-2001 03:47 AM

bump...

Can anyone help me out?...

Please?
http://bbs.gofuckyourself.net/board/smile.gif

Jer 10-21-2001 05:50 AM

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.

Naughty 10-21-2001 06:43 AM

http://www.eol.ca/support/business/password/

HTH

------------------
http://www.tgp2counter.net/tgp2c/pic..._but120x60.gif
- 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

awechen 10-21-2001 07:28 AM

which apache version u using ?

XM 10-21-2001 07:42 AM

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...

awechen 10-21-2001 07:51 AM

Quote:

Originally posted by XM:
I think you cannot redirect from 401 to another URL, but only to another page:
ErrorDocument 401 /gohere.html

no. is works.
--
andreas


All times are GMT -7. The time now is 03:48 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123