# This file replaces old system MIME types and sets them only in the # Apache webserver # application/x-httpd-php phtml pht php # application/x-httpd-php3 php3 # application/x-httpd-php4 php4 # application/x-httpd-php5 php SetHandler application/x-httpd-php # application/x-httpd-php-source phps SetHandler application/x-httpd-php-source # Deny access to raw php sources by default # To re-enable it's recommended to enable access to the files # only in specific virtual host or directory Require all denied # Deny access to files without filename (e.g. '.php') Require all denied # To enable PHP CGI site-wide, just uncomment following lines, however # as a security measure, it's recommended to enable PHP just in the # specific virtual servers or just specific directories #ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ # # AllowOverride None # Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch # Order allow,deny # Allow from all # #Action application/x-httpd-php /cgi-bin/php5