<IfModule !mod_php4.c> <FilesMatch "\.php$"> Order allow,deny Deny from all Allow from none </FilesMatch> </IfModule>
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Disallow serving of PHP pages if mod_php is not loaded (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» Suexec'ed PHP-FastCGI on Apa... in apache php fastcgi suexec
» Turn off (mostly) useless ap... in apache php
» Parse .html files as PHP in apache php
» PHP on mod_fcgid with Apache... in apache php fastcgi
» Serve php within .htm in apache php server textdrive .htaccess parse .htm .html
» Run Apache in 32bit mode on ... in apache php leopard odbc 32bit mode
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails