Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2005, 04:40 PM
mtrac's Avatar
mtrac mtrac is offline
 
Join Date: Nov 2004
Location: Edgewater, NJ, USA
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default mod_rewrite help

I would like to redirect a specific IP address to a specific domain and need some syntax help. The following redirected everything. Note that there are already some conditions in .htaccess to prevent hotlinking and deny certain IPs and I appended this.

Thanks.

RewriteCond %{REMOTE_ADDR} !^192\.168\.0\.1$
RewriteRule ^.*$ http://www.somedomain.org/ [R,L]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:00 AM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.