Rediccionamiento Apache desde una IP determinada


/ Published in: Apache
Save to your folder(s)

Redirecciona una petición HTTP de Apache a una URL, salvo los que tenga una IP determinada.


Copy this code and paste it in your HTML
  1. Options +FollowSymlinks
  2. RewriteEngine on
  3. RewriteCond %{REMOTE_HOST} !^80\.38\.0\.115
  4. RewriteRule (.*) http://www.territoriocreativo.es/$1 [R=301,L]
  5. BEGIN WordPress

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.