Posted By

paulbooker on 11/15/08


Tagged


Versions (?)

Example of some apache rewrite rules


 / Published in: Apache
 

  1. <Directory /var/www/vhosts/drupalr.co.uk/httpdocs>
  2. RewriteEngine on
  3. rewriterule ^(.+)\.htm$ /$1.php [r=301,nc]
  4.  
  5. RewriteRule ^community community.php [nc]
  6.  
  7. ErrorDocument 404 /index.php
  8. </Directory>

Report this snippet  

You need to login to post a comment.