.htaccess 494 B

12345678910111213141516
  1. # htaccess file to clock
  2. # The virtual host must have AllowOverride FileInfo to have this file used.
  3. # You can achieve the same effect by adding a definition to
  4. #
  5. #<Directory /path/to/htdocs/includes>
  6. #RewriteRule \.php$ - [F,L]
  7. #</Directory>
  8. #RewriteRule \.php$ - [F,L]
  9. # If there is no directory with AllowOveride FileInfo, you will get error 500. But
  10. # we got what we want, php file into external libraries can't be executed directly.
  11. <FilesMatch "\.php$">
  12. SetHandler !
  13. </FilesMatch>