.htaccess 792 B

1234567891011121314151617181920212223
  1. # Apache configuration file
  2. # http://httpd.apache.org/docs/2.2/mod/quickreference.html
  3. # Note: ".htaccess" files are an overhead for each request. This logic should
  4. # be placed in your Apache config whenever possible.
  5. # http://httpd.apache.org/docs/2.2/howto/htaccess.html
  6. # Turning on the rewrite engine is necessary for the following rules and
  7. # features. "+FollowSymLinks" must be enabled for this to work symbolically.
  8. <IfModule mod_rewrite.c>
  9. Options +FollowSymLinks
  10. RewriteEngine On
  11. </IfModule>
  12. # For all files not found in the file system, reroute the request to the
  13. # "index.php" front controller, keeping the query string intact
  14. <IfModule mod_rewrite.c>
  15. RewriteCond %{REQUEST_FILENAME} !-f
  16. RewriteCond %{REQUEST_FILENAME} !-d
  17. RewriteRule ^(.*)$ index.php/$1 [L]
  18. </IfModule>