• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Multiple odd vhost httpd.includes

T

TobiI

Guest
Perl and Python test-pages are being downloaded

Hello,

I recognized the Perl and Python test-scripts of my test-domain Plesk default site not being executed. My browser offers to download them.

The setup is Plesk 10.4.4 on SuSE 11.4 1013111102.18

I am following the includes for Apache from /etc/apache2/conf.d/zz010_psa_httpd.conf and found out, that the
/usr/local/psa/admin/conf/vhosts_bootstrap.conf contains the following include:

Include '/srv/www/vhosts/zotoyabi.com/conf/13229047880.25194400_httpd.include'

This file does not exist.

# ls -al /srv/www/vhosts/mydomain.com/conf/
total 56
drwxr-x--- 2 root psaserv 4096 Dec 3 10:33 .
drwxr-xr-x 13 root root 4096 Dec 3 09:26 ..
-rw-r----- 1 root www 368 Dec 3 09:26 13229007920.11597800_httpd.include
-rw-r----- 1 root www 5892 Dec 3 09:26 13229007920.11597800_httpd_ip_default.include
-rw-r----- 1 root www 368 Dec 3 09:26 13229007970.01582600_httpd.include
-rw-r----- 1 root www 5892 Dec 3 09:26 13229007970.01582600_httpd_ip_default.include
-rw-r----- 1 root www 368 Dec 3 09:39 13229015750.56575400_httpd.include
-rw-r----- 1 root www 5892 Dec 3 09:39 13229015750.56575400_httpd_ip_default.include
-rw-r----- 1 root www 368 Dec 3 10:33 13229047880.25194400_httpd.include
-rw-r----- 1 root www 5892 Dec 3 10:33 13229047880.25194400_httpd_ip_default.include

After reconfiguring the domain the include is correct:
#/usr/local/psa/admin/bin/httpdmng --reconfigure-domain mydomain.com

Why is there so many obsolete includes? When do they get cleaned up?

Yet, the test pages for Perl and Python still to not work (scripts are being downloaded).
Any hints?
 
Last edited by a moderator:
what about the settings ot the perl- and python-option in the hosting-parameters?
- are they activated for the right domain?
- if so, were the options passed correct to the .include-file?

should look like this somewhere in the .include-file
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>


Btw the cleaning-up of old config files should have been fixed with MU#5, as I read in another discussion. Yet I haven't tested ist.

Greets
 
The active include does not contain any directives for mod_perl or mod_python.

I am using a domain subscription to the Unlimited Service plan template. There, Python and Perl are allowed.
Initially, I deactivated Perl and Python once in that template & afterwards triedto reenable it. The changes could not be synchronized to the subscription upon pressing the confirmation button (the button-animation would just circle away endlessly). I then completely deleted the domain subscription and recreated it from scratch.

Yet, on the subdomain lists.mydomain.com, the mailman mailinglists running on python do work.
 
and are the options perl and python activated in the subscription, also? They both, template and subscription are not necessarily synced. (thus, if you recreated the subscription they should be sync...)

if all does not work, try to place the above mentioned directives (mod_perl, mod_python) into an 'vhost.conf'-file, put it in the dir where the .inlude-files for the domain resides and make plesk reconfigure the domain.

if now the perl-scripts or python scripts are running you are fine, otherways it could be a misconfiguration of apache...
 
Back
Top