Ubuntu 14.04 virtualmin showing only some webs

Hi guys,

I was running virtualmin for like a year without a problem on Ubuntu 12.04. Since I upgraded to 14.04, I can’t run out of problems. I did a fresh install of 14.04 and installed virtualmin.

The problem is that mod_php doesn’t process PHP files for all websites. some are running fine, some just don’t display a thing (not even a phpinfo();).

I have a domain with three subservers and one of them works, but the rest I can’t make to work at all.

Doesn’t matter if I set them to FCGID or mod_php this shows nothing in the logs (as far as I’ve seen) and also nothing in browser.

<VirtualHost :80>
SuexecUserGroup “#1001” “#1001
ServerName fyi.mhit.cz
ServerAlias www.fyi.mhit.cz
ServerAlias webmail.fyi.mhit.cz
ServerAlias admin.fyi.mhit.cz
DocumentRoot /home/mhit/domains/fyi.mhit.cz/public_html
ErrorLog /var/log/virtualmin/fyi.mhit.cz_error_log
CustomLog /var/log/virtualmin/fyi.mhit.cz_access_log combined
ScriptAlias /cgi-bin/ /home/mhit/domains/fyi.mhit.cz/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/mhit/domains/fyi.mhit.cz/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/mhit/domains/fyi.mhit.cz/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/mhit/domains/fyi.mhit.cz/fcgi-bin/php5.fcgi .php5

<Directory /home/mhit/domains/fyi.mhit.cz/cgi-bin>
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch

RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.fyi.mhit.cz
RewriteRule ^(.
) https://fyi.mhit.cz:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.fyi.mhit.cz
RewriteRule ^(.*) https://fyi.mhit.cz:10000/ [R]
php_value memory_limit 32M
RemoveHandler .php
RemoveHandler .php5
#php_admin_value engine Off
IPCCommTimeout 31
FcgidMaxRequestLen 1073741824

Would anyone know what could be the problem?

Thanks!

Howdy,

When you try to connect to one of those non-working domains, are you seeing the access attempt in $HOME/logs/access_log? If not, does it instead show up in /var/log/apache2/access_log?

-Eric