Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st June 2006, 12:37
itgroup itgroup is offline
Member
 
Join Date: May 2006
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default CGI issues - 403 Error- Forbidden!

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:

403 Error- Forbidden!


The following error occurred:
You are not permitted to access the requested URL Please contact the Webmaster with any queries.

powered by ISPConfig
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
Reply With Quote
Sponsored Links
  #2  
Old 1st June 2006, 17:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Did you put the CGI scripts into the cgi-bin directory? Did you make them executable?
Does it work without suExec?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st June 2006, 23:25
itgroup itgroup is offline
Member
 
Join Date: May 2006
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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:

500 error - Internal Server Error!


The following error occurred:
The requested URL caused an internal server error. If you get this message repeatedly please contact the Webmaster.

powered by ISPConfig

Please advise. I have tried to run with suexec turned off - same error message.
regards
steve
Reply With Quote
  #4  
Old 1st June 2006, 23:30
itgroup itgroup is offline
Member
 
Join Date: May 2006
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #5  
Old 2nd June 2006, 09:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
 
Default

Quote:
Originally Posted by itgroup
[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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Williamsl (11th July 2014)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig + Turck MMCache + Hardened-PHP - Any Issues? BobbyQ General 8 3rd May 2006 22:52
Perl and cgi script installation linuxuser1 General 30 26th April 2006 23:09
Internal Server Error 500 cgi script mphayesuk General 6 8th February 2006 22:53
Centos 4.2 CGI error redhatlover Server Operation 12 31st December 2005 15:34
Ispconfig cgi hosting Mahir General 6 21st November 2005 15:40


All times are GMT +2. The time now is 01:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.