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-14-2009, 05:57 AM   #1
TheDA
Confirmed User
 
Industry Role:
Join Date: May 2006
Posts: 4,665
.htaccess question

How do I change this so that I can add additional IP ranges that are allowed access.

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^66\.249\.
RewriteRule .* http://www.domain.com/ [R,L]
</IfModule>
TheDA is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-14-2009, 06:05 AM   #2
WeirdHomer
Confirmed User
 
WeirdHomer's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Interwebs
Posts: 806
Do you mean this?

Code:
<Limit GET POST PUT>
 order deny,allow
 deny from all
 allow from 10.1.0.0/16
 allow from 80.0.0/8
</Limit>
WeirdHomer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-14-2009, 06:06 AM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
never seen it done that way, i would just use

Code:
order deny,allow
deny from all
allow from 66.249.
allow from .isp.com
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-14-2009, 06:07 AM   #4
sortie
Confirmed User
 
sortie's Avatar
 
Industry Role:
Join Date: Mar 2007
Posts: 7,771
What they said.
__________________
sortie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-14-2009, 06:09 AM   #5
TheDA
Confirmed User
 
Industry Role:
Join Date: May 2006
Posts: 4,665
OK thanks guys. I might just use that. I don't really need the redirect anyway.
TheDA is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-14-2009, 11:41 AM   #6
Cash
Click on my TCG signature
 
Cash's Avatar
 
Join Date: Feb 2002
Posts: 20,825
http://wiki.dreamhost.com/.htaccess
http://wiki.dreamhost.com/Htaccess
http://wiki.dreamhost.com/Preventing_hotlinking
__________________
$9.95/month for 15000 GB bandwidth monthly, unlimited (sub)domains and MySQL5, PHP4/5, 500 GB disk storage! ; use any of these invitation codes: 216263692101; 408636009193; 846090586647; my ICQ 30160426!
Cash 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.