Skip to content

Instantly share code, notes, and snippets.

@weivall
Created April 20, 2012 21:43
Show Gist options
  • Save weivall/2432078 to your computer and use it in GitHub Desktop.
Save weivall/2432078 to your computer and use it in GitHub Desktop.
ЗАПРЕТ ЛИСТИНГА ВСЕХ ПАПОК И ПОД-ПАПОК
# ЗАПРЕТ ЛИСТИНГА ВСЕХ ПАПОК И ПОД-ПАПОК
Options -Indexes
# ЗАПРЕТ НА ЗАПУСК ФАЙЛА
RemoveHandler .phtml .php .php3 .php4 .php5 .php6 .phps .cgi .exe .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .htm .html .wml
AddType application/x-httpd-php-source .phtml .php .php3 .php4 .php5 .php6 .phps .cgi .exe .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .htm .html .wml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment