Need help trying to rewrite url based upon remote_addr

New to mod_rewrite? This is a good place to start.

Postby ashirley » Wed Jul 24, 2002 9:25 am

I need some help getting a url rewritten

Here's what I have so far in the Virtual Host part of my primary web site
RewriteCond %{REMOTE_ADDR} ^
RewriteRule ([a-z]+).([a-z]+).([a-z]+)

I'm trying to redirect the URL based upon the IP address, but it doesn't seem to be working. I'm trying to forward to just for testing purposes. Once I'm sure the url rewrite is working, I'm pointing it to a different web site.

Any help would be appreciated.

Posts: 1
Joined: Tue Jul 23, 2002 4:00 pm

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 9 guests