Hello,
I want to disable php for specific directory of my website.
For example the "media" directory.
I tried this in a htaccess file :
but it doesn't work.
PHP support (Run PHP as Apache Module , PHP version 5.4.4 )
I tried in "Web Server Settings for > Additional directives for HTTP" but doesn't work :'(
Thank's for your help
Pierre-Louis Hubert
I want to disable php for specific directory of my website.
For example the "media" directory.
I tried this in a htaccess file :
Code:
<Directory /var/www/vhosts/mydomaine.tls/httpdocs/medias/upload>
RemoveHandler .php .phtml .php3
RemoveType .php .phtml .php3
php_flag engine off
</Directory>
PHP support (Run PHP as Apache Module , PHP version 5.4.4 )
I tried in "Web Server Settings for > Additional directives for HTTP" but doesn't work :'(
Thank's for your help
Pierre-Louis Hubert