Hi, I have almost got ISPConfig working as I want however, i have an issue with CGI. I have just setup one web site and when you try to click a CGI link, you receive: [FONT=Helvetica, Arial]403 Error- Forbidden! [/FONT] [FONT=Helvetica, Arial]The following error occurred:[/FONT] [FONT=Helvetica, Arial]You are not permitted to access the requested URL [/FONT][FONT=Helvetica, Arial]Please contact the Webmaster with any queries.[/FONT] [FONT=Verdana, Arial]powered by ISPConfig[/FONT] If you go to http://www.griffithmotorcyclecentre.com.au and click any of the links on the left hand side you can repeat the error. I know this probably has something to do with CGI setup. I have clicked 'suexec' in the management section as well as enabled CGI in the sites section (for this site). What else can I try please? regards steve
Did you put the CGI scripts into the cgi-bin directory? Did you make them executable? Does it work without suExec?
different error Hi Falko, thanks for the quick reply. I have moved the .cgi scripts to the cgi-bin directory and chmod to 755, but now I recieve: [FONT=Helvetica, Arial]500 error - Internal Server Error![/FONT] [FONT=Helvetica, Arial]The following error occurred:[/FONT] [FONT=Helvetica, Arial]The requested URL caused an internal server error. [/FONT][FONT=Helvetica, Arial]If you get this message repeatedly please contact the Webmaster.[/FONT] [FONT=Verdana, Arial]powered by ISPConfig[/FONT] Please advise. I have tried to run with suexec turned off - same error message. regards steve
I found this in the logs: [Fri Jun 02 06:49:23 2006] [error] [client 24.63.28.36] Options ExecCGI is off in this directory: /var/www/web1/web/rm/exec/search.cgi, referer: http://www.griffithmotorcyclecentre.com.au/menu.htm
You must put the cgi file to the cgi directory: /var/www/web1/cgi-bin/search.cgi and make shure that the file is owned by the admin user of the web and the group of the web.