Posted By

nate63179 on 11/03/09


apache redirects

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Apache: Redirect IP's other than X to [URL]

 / Published in: Apache

ready for .htaccess, creates 302 temp redirect

  1. Options +FollowSymlinks
  2. RewriteEngine on
  3. RewriteCond %{REMOTE_HOST} !^123\.45\.67\.89
  4. RewriteRule \.html$ /alternate_page.html [R=302,L]

Report this snippet  

You need to login to post a comment.