Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th October 2007, 11:16
webbinALLnite webbinALLnite is offline
Junior Member
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Logic behind ISPConfig site directories

Hey guys,

Great system! I'm glad there is an open source alternative to the commercial control panels!

I have a question about the logic behind user directories used by ISPConfig. When I create a user, her directory has a "web" directory that is the Document Root. I get the purpose of that. However, the user's directory also has a few other directories. I understand the purpose behind most of them but can't figure out why the "cgi-bin" directory would be outside the document root. Does this mean that CGI (Perl) scripts can only be run from non-web-accessible locations? Is this directory to be accessed some other way? To run Perl scripts is it necessary to create a cgi-bin inside of "web" or can they be run anywhere?

A second question I have is why do users get their own "web" directories? Are they able to have their own sites and if so how does this work exactly? Do they essentially get their own "Site" (aka "Web") or is this somehow a sub-site (sub-directory, sub-domain) of the defined Site?

Again awesome work and thanks in advance for any clarification.
Reply With Quote
Sponsored Links
  #2  
Old 15th October 2007, 11:28
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,170
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
 
Default

It is not nescessary that a cgi-bin is inside the web directory, as the directory is configured via a script alias. For security reasons, cgi directories should not be inside the web directory. You can access the cgi files with http://www.yoursite.com/cgi-bin/... as usual.

Quote:
A second question I have is why do users get their own "web" directories? Are they able to have their own sites and if so how does this work exactly? Do they essentially get their own "Site" (aka "Web") or is this somehow a sub-site (sub-directory, sub-domain) of the defined Site?
This is the user website feature, it is described in the manual. It works with the apache rewrite functions.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Fail to open ISPConfig site: firefox 8182 BigB Installation/Configuration 100 31st March 2010 16:19
Installation Problem irpr Installation/Configuration 21 13th December 2006 11:55
PHP error chrno Installation/Configuration 2 7th September 2006 13:27
site works but ISPConfig login gone? Boon-Dog-Danny Installation/Configuration 6 4th August 2006 13:01
ISPConfig wont backup a site PortMan General 8 22nd July 2006 15:49


All times are GMT +2. The time now is 12:49.


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