• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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