1 2 3 4 5 6 7 8 9 10 11 12
<Files ~ "^\.ht.*"> deny from all satisfy all ErrorDocument 403 "You are not allowed to access .ht* files!" </Files> Options +ExecCGI AddHandler cgi-script .cgi DirectoryIndex index.cgi ErrorDocument 500 /error.cgi ErrorDocument 404 /not_found.cgi