• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Webmail subdomain is not interpreted. Other Subdomains ok.

Ursus

New Pleskian
Hello Together

I have been searching for more than an hour now, but without any result.

My Problem, i installed a brand new Ubuntu 14.04 Server and installed Plesk 12.5 on it.
I Extended the Plesk installation with several PHP Versions and Roundcube WebMail Client.

I also createt a Domain and a subdomain to check the DNS.

My Problem, when i try to Access "webmail.domain.tld" the browser Downloads a file without extension. I figured out, that tis is the index(.php) file from roundcube.
So i ended up knowing, that php is not interpreted in this part.

I created a new subdomain to check, but there php works perfectly.

Further i reinstalled all PHP Versions, the Roundcube and installed the Horde Webmail as well.
No luck.

In the vhost Access log i found this:
roundcube.webmail:443 MY.IP.XX.XX - - [27/Aug/2016:14:27:26 +0200] "GET / HTTP/1.1" 200 14632 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393"

In my opinion, this line seems to be correct...

Is there anyone having the same issue?

Thank you

Urs
 
Alternatively: Change the Apache default to FastCGI and check the "PHP5" module, then restarte Apache.
 
Hello and thank you for the welcome.

@Lloyd_mcse , Thank you for this hint, but this does not change the situation.
Here is one part of the vhosts configuration. (To test, i do not use SSL).
<VirtualHost xxx.xxx.xxx.xxx:80 [xxxx:xxxx:xxx:xxx::1]:80>
ServerName roundcube.webmail
ServerAlias roundcube.webmail.*
ServerAdmin "[email protected]"
IncludeOptional "/etc/apache2/plesk.conf.d/webmails/roundcube/*.conf"
UseCanonicalName Off
DocumentRoot "/usr/share/psa-roundcube"
Alias /roundcube/ "/usr/share/psa-roundcube/"
<IfModule mod_suexec.c>
SuexecUserGroup roundcube_sysuser roundcube_sysgroup
</IfModule>
<IfModule mod_fcgid.c>
FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
FcgidInitialEnv PP_CUSTOM_PHP_INI "/etc/psa-webmail/roundcube/php.ini"
FcgidMaxRequestLen 134217728
<Directory "/usr/share/psa-roundcube">
Options -Indexes +FollowSymLinks
AllowOverride FileInfo
Require all granted
Include "/etc/apache2/plesk.conf.d/roundcube.htaccess.inc"
<Files ~ (\.php$)>
SetHandler fcgid-script
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
Options +ExecCGI
</Files>
</Directory>
</IfModule>
</VirtualHost>

@Peter Debik , thanks fo your advice, but i don't understand what i should do. Where do i have to switch this configuration?


Thank you guys for your Help!

Kind regards
Urs
 
Tools & Settings > Apache Web Server> Drop Down List "MPM Mode", set to "Prefork" > Check "php5" > Click "OK".
 
@Peter Debik , it seems like you saved my life! I'm not finished with testing yet, but for now, the webmail Access works! :)
Thank you so much!

Kind regards
 
Back
Top