cgi scripts outside of cgi-bin

imagic

Well-Known Member
Verifed Vendor
Jan 16, 2003
155
0
166
Will user installed cgi scripts work outside of the cgi-bin?

I transferred an account from al****za that requires this and it's not working properly. The cgi script is trying to download instead of executing. Also, it transferred over the .htaccess file and I'm attempting to add the lines:
AddHandler cgi-script .htm
Options +ExecCGI
to it. I'm opening the file through the file manager, adding the code, saving and the new code is not showing up in the file. Any thoughts?

Thanks!
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Make sure that your scripts have correct file ext. Also, if you are running a suexec rig be sure that scripts are chmod'd to 755.

For the .htaccess file, ssh into your account edit it manually or update a modified file via ftp.