Hi,
I have a LS + CageFS (no control panel) and Config > Virtual Host > Rewrite redirects domain.com to a subfolder in a user's web root: /home/user/www/domain.com
In Config > Virtual Host > General > Apache Style Configurations, AddType is able to switch to PHP 5.5 for domain.com:
AddType application/x-httpd-php55 php
But if I change the Apache Style Configurations to the below it does not change the PHP version (and no errors in debug logs):
<Directory "/home/user/www/domain.com">AddType application/x-httpd-php55 php</Directory>
Or I can use AddType in domain.com/.htaccess but I was hoping to use httpd.conf to skip using .htaccess in user space.
Thanks,
John
I have a LS + CageFS (no control panel) and Config > Virtual Host > Rewrite redirects domain.com to a subfolder in a user's web root: /home/user/www/domain.com
In Config > Virtual Host > General > Apache Style Configurations, AddType is able to switch to PHP 5.5 for domain.com:
AddType application/x-httpd-php55 php
But if I change the Apache Style Configurations to the below it does not change the PHP version (and no errors in debug logs):
<Directory "/home/user/www/domain.com">AddType application/x-httpd-php55 php</Directory>
Or I can use AddType in domain.com/.htaccess but I was hoping to use httpd.conf to skip using .htaccess in user space.
Thanks,
John