Posted By

wbowers on 02/28/08


Tagged

regex php textmate htaccess clean urls cleanurls


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

adix
SpinZ


.htacces - clean urls


 / Published in: Apache
 

  1. # Follow symbolic links in this directory.
  2. Options +FollowSymLinks
  3.  
  4. <IfModule mod_rewrite.c>
  5.  
  6. RewriteEngine On
  7.  
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-d
  10. RewriteRule (.*) index.php?path=$1 [L,QSA]
  11.  
  12. </IfModule>

Report this snippet  

You need to login to post a comment.