• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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