|
Posted by Rik on August 14, 2006, 4:38 pm
Please log in for more thread options
Brian Wakem wrote:
> Brian S. Paskin wrote:
>
>> Hi, I am trying to figure out a way to redirect all users, except the
>> ip address I am working on, to update the site.
>>
>> I have been trying different combos in the .htaccess (Apache) without
>> coming up with a solution.
>>
>> Any ideas would be great!
>
>
> Try something like:
>
> RewriteCond % !^xxx\.xxx\.xxx\.xxx$
> RewriteRule ^.*$ /redir.html [R,L]
Ah, I was looking wether or not that ! would be supported, but I couldn't
find it that fast on http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html. Nice to know.
Grtz,
--
Rik Wasmus
|