Posted By

koorb on 04/23/08


Tagged

php textmate htaccess codeigniter


Versions (?)

Who likes this?

20 people have marked this snippet as a favorite

ozskry
leighmac
j0han
purefusion
localhorst
hamiltonmascioli
pixeldeluxe
vali29
svnlto
alejandrosuch
shilguhn
tre
vkolev
ljayz
infinidad
gamblelyn
Gordy
guillermoj88gmailcom
otternq
pitipatdop


Codeigniter .htaccess


 / Published in: Apache
 

  1. RewriteEngine on
  2. RewriteBase /
  3. # Hide the application and system directories by redirecting the request to index.php
  4. RewriteRule ^(application|system|\.svn) index.php/$1 [L]
  5. RewriteCond %{REQUEST_FILENAME} !-f
  6. RewriteCond %{REQUEST_FILENAME} !-d
  7. RewriteRule ^(.*)$ index.php/$1 [QSA,L]

Report this snippet  

You need to login to post a comment.