View Single Post
  #11  
Old 23rd March 2009, 10:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

If you rename a php script to another extension you will get the sourcecode too

If you want to deny a filetype then you can do this by adding some apache mod_access rules to the apache directives field of the website like this:

<Files ~ "\.php$">
Order allow,deny
Deny from all
</Files>
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links