• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • 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.

DirectoryIndex - index.cgi

W

wavedave

Guest
I'm having DirectoryIndex problems with CGI scripts named "index.cgi". Many of my customers
use script links like "/cgi-bin/script_folder" (where the actual script name is "index.cgi")
which worked fine, before I migrated them to my new Plesk box (Plesk 8.1 / CentOS 4.4).

I've tried adding "DirectoryIndex index.cgi" to vhost.conf and .htaccess files
and copying psa-suexec to suexec (restarting Plesk and Apache each time) but nothing works.

I still get "403 Forbidden" errors, unless I append "index.cgi" to the URL, in which case
the scripts run fine... so I don't think I have a permissions or ownership problem. (?)

Does anyone know how to resolve this? I'd rather avoid changing all of my customers' links.

Thank you all very much - for your valuable time and contributions here.

[edit]

This problem only exists in directories under /cgi-bin. If the script is under /httpdocs
"DirectoryIndex index.cgi" allows the script to run, as it should.
 
Back
Top