#1  
Old 26th November 2012, 09:25
key key is offline
Junior Member
 
Join Date: Nov 2012
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Default What's cgi-bin directory?

In ispconfig manual, I can execute cgi scripts inside of cgi-bin directory.

But, I can execute cgi outside of it.

And, I place test.cgi inside of it and visit http://example.com/cgi-bin/test.cgi.

Apache tell me 404 not found.

What's difference between cgi-bin and web directory?
Reply With Quote
Sponsored Links
  #2  
Old 26th November 2012, 10:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

The cgi-bin directory is for executing cgi scripts. Normally you can not execute cgi scripts in the web folder, s it might be that you reconfigured your server to do that. The cgi-bin folder is a alias for www.yourdomain.tld/cgi-bin/ which get added when you enable cgi function in the web site settings in ispconfig.
__________________
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:
key (26th November 2012)
  #3  
Old 26th November 2012, 10:48
key key is offline
Junior Member
 
Join Date: Nov 2012
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Default Thanks

Thanks

But, I didn't reconfigure.

I set up servers with this manual.

http://www.howtoforge.com/perfect-se...ot-ispconfig-3

My configuration is insecure, isn't it?
Reply With Quote
  #4  
Old 26th November 2012, 11:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
My configuration is insecure, isn't it?
Thats not a security problem. For a secure website setup it is important that you always enable the suexec checkbox in the website settings so that all cgi processes (inside and outside of the cgi-bin directory) are run as web user and client group of this website.
__________________
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:
key (26th November 2012)
  #5  
Old 26th November 2012, 11:16
key key is offline
Junior Member
 
Join Date: Nov 2012
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default Thank you very much

Quote:
Originally Posted by till View Post
Thats not a security problem. For a secure website setup it is important that you always enable the suexec checkbox in the website settings so that all cgi processes (inside and outside of the cgi-bin directory) are run as web user and client group of this website.
Thank you very much.

I'll run with this configuration.
Reply With Quote
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
Webmin upgrade lishaw1968 Installation/Configuration 15 26th August 2010 16:23
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 23:41
can't help ispconfig to install please help steve51184 Installation/Configuration 17 20th February 2009 11:37
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 11:46
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 18:17


All times are GMT +2. The time now is 19:30.


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