HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Logic behind ISPConfig site directories (http://www.howtoforge.com/forums/showthread.php?t=16223)

webbinALLnite 15th October 2007 11:16

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.

till 15th October 2007 11:28

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.


All times are GMT +2. The time now is 20:43.

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