• 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.

не запускается cgi на созданном сайте

AlexeyE

Basic Pleskian
Добрый день,
подскажите в чем может быть пробелма: не запускается cgi файл на новом домене
Никаких изменений не вносил. Вызываю домен.тлд/test.cgi или домен.тлд/test/test.cgi получаю ошибку: Не найден (Not Found The requested document was not found on this server. )
После вызова сайта вижу страницу плеска по умолчанию, с которой вызываю скрипт Perl-а, но получаю ошибку: Нет доступа (Forbidden You do not have permission to access this document. )

В конфигурации сайта указано: php как cgi, и включена поддержка всего. Папка cgi установлена на корень сайта ( CGI support (cgi-bin directory is located in the document root of this domain)
Подскажите, как заставить работать cgi ?
Все остальные сайты работают как fcgi, на nginx. Но для одного нужна поддержка cgi.

Вот vhost.conf

<Directory /абс_путь/сайт.тлд/httpdocs>
Options -Indexes +Includes +ExecCGI
#+FollowSymlinks
RewriteEngine on

AllowOverride all
Order allow,deny
allow from all

AddHandler cgi-script .cgi
</Directory>



Спасибо
 
Last edited:
Hi, Alex.

This is an English-speaking forum. Posts in other languages usually don't gather much help. So I suggest writing future posts in English.


Did you enable CGI support for domain (note that this differs from php as cgi)?

Никаких изменений не вносил. Вызываю домен.тлд/test.cgi или домен.тлд/test/test.cgi получаю ошибку: Не найден (Not Found The requested document was not found on this server. )

Does /var/www/vhosts/domain.tld/httpdocs/test/test.cgi exist?

После вызова сайта вижу страницу плеска по умолчанию, с которой вызываю скрипт Perl-а, но получаю ошибку: Нет доступа (Forbidden You do not have permission to access this document. )

Permission problem? Do you click on Perl test page and get "Forbidden"?

Вот vhost.conf

Why do you need separate custom vhost.conf? Plesk will do such kind of configuration for you. Please remove custom vhost.conf.

Спасибо

You're welcome ;)
 
Back
Top