• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Bug? Web Server Settings create new folder cgi-bin...

Azurel

Silver Pleskian
Hey,

* Go to "Web Server Settings" add text to "Additional directives for HTTP" and press button "Ok".
* Go to "Document root" folder of your domain and now you have a new folder "/cgi-bin/test" with file "test.cgi":

Code:
#!/usr/bin/perl

print <<HTML;
Content-type: text/html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html">
<link rel="stylesheet" type="text/css" href="../../css/style.css">
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0">
<tr class="subhead" align="Left"><th>Name</th><th>Value</th></tr>
HTML

my $class;

foreach (sort keys %ENV) {
	next unless /^HTTP_|^REQUEST_/;
	$class = ($class ne 'normal')? 'normal': 'alt';
	print <<HTML;
<tr class="$class"><td valign="top">$_</td><td>$ENV{$_}</td></tr>
HTML
}

print <<HTML;
</table>
</body>
</html>
HTML

Is this a bug?
 
It is just part of default vhost skeleton:

# ll /var/www/vhosts/.skel/0/cgi-bin/test/test.cgi
-rw-r--r-- 1 root root 662 Jun 18 12:53 /var/www/vhosts/.skel/0/cgi-bin/test/test.cgi
 
But...why its copy to /var/www/vhosts/domain.com/httpdocs/cgi-bin/test/test.cgi ?

Original path is: /var/www/vhosts/domain.com/cgi-bin/test/test.cgi
 
Because vhost structure is created based on the default skeleton.
 
I not really understand... Here my skel folder content:

/var/www/vhosts/.skel/0/cgi-bin/test/test.cgi
/var/www/vhosts/.skel/0/error_docs
/var/www/vhosts/.skel/0/httpdocs
"httpdocs" have not a "cgi-bin" folder in skel.

Here my vhost folders

/var/www/vhosts/domain.com/cgi-bin/test/test.cgi
/var/www/vhosts/domain.com/error_docs
/var/www/vhosts/domain.com/httpdocs

AND after start post here too:

/var/www/vhosts/domain.com/httpdocs/cgi-bin/test/test.cgi
Thats not a path from default skeleton.
 
Yes, we have already submitted report PPPM-810 regarding this issue.
Developers are working on it. As possible workaround you can add record to psa.dom_param with proper cgi-bin location for each domain and reconfigure apache configs.
 
Yes, we have already submitted report PPPM-810 regarding this issue.
Developers are working on it. As possible workaround you can add record to psa.dom_param with proper cgi-bin location for each domain and reconfigure apache configs.

Already a patch for this? #mu22?
 
I have tested it with MU#26. I go only in "Web Server settings" of a domain and click on "OK" for saving.

Result: Bug is still present. I have a fresh new cgi-bin folder in my httpdocs
 
Back
Top