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)
-   -   Redirecting authorization denied traffic... (https://gfy.com/showthread.php?t=88822)

Shaggy 11-18-2002 01:26 AM

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>

Shaggy 11-18-2002 01:29 AM

well it was an .htaccess file. lol
The board didn't like it.

frankfortuna 11-18-2002 02:09 AM

Quote:

Originally posted by Shaggy
well it was an .htaccess file. lol
The board didn't like it.

I could be wrong, but you'll need to specify a custom 403 page with a redirect.

.:Frog:. 11-18-2002 02:17 AM

Just delete the denied page and 404 them to a join page.

boldy 11-18-2002 02:18 AM

ErrorDocument 401 /somepage.php

:thumbsup

artware 11-18-2002 02:19 AM

Shaggy,

ErrorDocument 401 /join.html

Greetings,

Art

Shaggy 11-18-2002 12:20 PM

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