Web Hosting Talk







View Full Version : cgi-error


rrsnider
11-30-2001, 10:52 AM
I have a virtual site that I am using for a shared SSL. I have a symlink set up in the virtual site that points to the site that wants to share the SSL. From the page:

https://secure.securedomain.com/site9/order1.html

I attempt to call the following cgi-bin. (The order1.html page loaded fine).

https://secure.securedomain.com/sit...bin/bnbform.cgi

I get the following error:

CGIWrap Error: Execution of this script not permitted
Execution of (hsam_admin) is not permitted for the following reason:

User not Privileged.

If I call the cgi-bin directly by the following it works fine.

http://www.site9.com/cgi-bin/bnbform.cgi

Any ideas?

Thanks,

Bob

P.S.

All files within the web and cgi-bin folder are owned by hsam_admin (that is the only user). I even changed ownership of the symlink to hsam_admin and it still does not work. I have also tried setting ownership to nobody, but still no luck.

bobcares
11-30-2001, 12:16 PM
Hi!
Try giving a
ScriptAlias in the ssl 's httpd.conf file.
It should look something like this.

ScriptAlias /username/cgi-bin/ /userdirectory/cgi-bin/

Have a great day :)

Regards
amar

rrsnider
11-30-2001, 04:26 PM
I got it to work by changing ownership of the cgi-bin files in site9 to be the owner of my secure domain. I am not sure why this worked, but ownership of nobody does not. It must be another change that I need to make the the HTTPD.CONF file.

bobcares
11-30-2001, 05:22 PM
It is because suExec is enabled on your server.
Have a great day :)

Regards
amar