These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for PHP and CSS problems on the new forum.
On a fresh install of Centos 7 (64) and Webmin/Virtualmin...
First I had to manually edit the global apache conf file, adding "SetHandler application/x-httpd-php" for php scripts to be executed on virtual servers. Is it normal, or could I fix it in the virtual server setup or config?
Now so php is working, but CSS files that are in php scripts are not executed at all, on virtual servers. I tried to edit the global Apache config file but it didn't help, and anyway it looks a strange method!
Any suggestion? Thank you!
Well I fixed the problem by adding
FilesMatch ".css$" SetHandler application/x-httpd-php Header set Content-type "text/css" /FilesMatch
in a .htaccess file on the virtual server. But it looks strange, I have an other server with Webmin/Virtualmin, no problem....