Hi there
I want to do a rewrite depending on which IP a person comes from. The following IP conditions are ignored, Can anyone see why ?
#Start
<Directory "/opt/htdocs/stuff">
Options +FollowSymLinks -Indexes
AllowOverride All
RewriteEngine on
### DO NOT DELETE
RewriteCond %{REMOTE_ADDR} !^192\.168\.193\.[1-255]$ [OR]
RewriteCond %{REMOTE_ADDR} !^192\.249\.[64-79]\.[1-255]$
RewriteRule ^images/corp/([^/]+)/([^/]+).pdf$ http://www.mydomain.co.za/docs/$1/$2.xml [L]
### End Force
Order allow,deny
Allow from all
</Directory>
#End
Any help will be much appreciated.