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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-18-2002, 12:48 AM   #1
Direktor
Registered User
 
Join Date: Dec 2001
Posts: 529
.htaccess question

if I have something like this:

order allow,deny
deny from some.ip.address
allow from all


how can I make it so I redirect the visitor with certain IP to some other URL instead of just giving them a 404 or whatever that's called.

------------------
wrap it up and lick it clean.
Direktor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2002, 01:13 AM   #2
Phil21
Confirmed User
 
Join Date: May 2001
Location: ICQ: 25285313
Posts: 993
ErrorDocument 404 http://www.domain.com/page.html

change 404 to whatever access code (you probably want 501 for what it appears you're attempting to do)

-Phil
Phil21 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2002, 02:08 AM   #3
Direktor
Registered User
 
Join Date: Dec 2001
Posts: 529
thanks, i'll give that a try.

------------------
wrap it up and lick it clean.
Direktor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2002, 04:47 AM   #4
Barry Porn
Confirmed User
 
Join Date: Oct 2001
Location: New Jersey
Posts: 257
And you want to start a hosting company?

Quote:
Originally posted by Direktor:
if I have something like this:

order allow,deny
deny from some.ip.address
allow from all


how can I make it so I redirect the visitor with certain IP to some other URL instead of just giving them a 404 or whatever that's called.

Barry Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.