• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

не запускается 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