Posted By

jordanbrock on 10/02/08


Tagged


Versions (?)

Rewrite Rule


 / Published in: lighttpd
 

  1. Options +FollowSymLinks
  2. RewriteEngine on
  3. RewriteCond %{SERVER_PORT} ^80$
  4. RewriteCond %{HTTP_HOST} ^abc.com.au [NC]
  5. RewriteCond %{HTTP_HOST} !^$
  6. RewriteRule ^/(.*) http://www.abc.com.au/$1 [L,R=301]

Report this snippet  

You need to login to post a comment.