07-21-04 11:02 PM
Hi, I would like to redirect one specific IP to one specific
page. I tried this by mod_rewrite:
RewriteCond %{REMOTE_ADDR} ^xxx\.xxx\.xxx\.xxx$
RewriteRule .* http://.......html [R,L]
Which obviously doesn't work, because said specific page is also
on the same site, thus obeying the same .htaccess file, thus
being inaccessible for the IP.
I tried putting the page in a directory with an empty .htaccess
file in it, which I thought might overrule the root .htaccess,
but that didn't work.
How can I make it work?
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Annie Lennox - Stay By Me
[ Post a follow-up to this message ]
|