.htaccess 852 B

12345678910111213141516171819202122232425262728
  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. php_value safe_mode off
  12. </IfModule>
  13. # For all files not found in the file system, reroute the request to the
  14. # "index.php" front controller, keeping the query string intact
  15. <IfModule mod_rewrite.c>
  16. RewriteCond %{REQUEST_FILENAME} !-f
  17. RewriteCond %{REQUEST_FILENAME} !-d
  18. RewriteRule ^(.*)$ index.php/$1 [L]
  19. </IfModule>
  20. Order allow,deny
  21. Allow from all