.htaccess 605 B

1234567891011121314151617181920
  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. # For all files not found in the file system, reroute the request to the
  7. # "index.php" front controller, keeping the query string intact
  8. <IfModule mod_rewrite.c>
  9. RewriteEngine On
  10. RewriteCond %{REQUEST_FILENAME} !-f
  11. RewriteRule ^ index.php [QSA,L]
  12. </IfModule>
  13. <Files config.php>
  14. order allow,deny
  15. deny from all
  16. </Files>