NeilWalden
New Pleskian
I'm trying to disable php within an uploads directory (/uploaded/tmp) on one of my sites but nothing I have tried seems to work, I can still run the php files via my browser, I have the following in my vhost_ssl.conf:
	
	
	
		
Any suggestions greatly appreciated, I've searched google and here without any luck.
p.s. I'm running the following after changing the vhost file to load the changes
	
	
	
		
				
			
		Code:
	
	<Directory /var/www/vhosts/dev.mydomain.com/httpdocs>
  Options +FollowSymLinks
  RewriteEngine On
</Directory>
<Directory /var/www/vhosts/dev.mydomain.com/httpdocs/uploaded/tmp>
        <IfModule sapi_apache2.c>
                php_admin_flag engine off
        </IfModule>
        <IfModule mod_php5.c>
                php_admin_flag engine off
        </IfModule>
</Directory>
	Any suggestions greatly appreciated, I've searched google and here without any luck.
p.s. I'm running the following after changing the vhost file to load the changes
		Code:
	
	/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain dev.mydomain.com
/etc/init.d/httpd reload