• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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