![]() |
Redirecting authorization denied traffic...
What do I need to do to this .htaccess file to make it redirect authorization denied traffic to a url of my choice? I have a lot of people trying to guess passwords and want to redirect to my join page.
AuthUserFile /usr/local/apache/www/mysite.com/data_storage/.htpasswd AuthGroupFile /dev/null AuthName "MySite.com Members Section" AuthType Basic <Limit GET POST> require valid-user </Limit> |
well it was an .htaccess file. lol
The board didn't like it. |
Quote:
|
Just delete the denied page and 404 them to a join page.
|
ErrorDocument 401 /somepage.php
:thumbsup |
Shaggy,
ErrorDocument 401 /join.html Greetings, Art |
ah hah, thanks guys. I was putting my whole url instead of just the page name. Now it works. :thumbsup
|
All times are GMT -7. The time now is 02:34 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123