![]() |
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! |
Cuz you should be using Errordocument 403.
------------------ http://www.theheadless.com/randomjunk/xp-btnbnr1.gif 60% RECURRING! |
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? |
|
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.
|
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 |
which apache version u using ?
|
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... |
Quote:
-- 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