Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th January 2009, 00:16
eugenesan eugenesan is offline
Junior Member
 
Join Date: Dec 2008
Posts: 23
Thanks: 0
Thanked 8 Times in 5 Posts
Default Location and linking of sites in ISPConfig3

Hi,

I am trying to understand the need for so complex and un-natural way of managing location of sites and their linking.

Can anyone explain that?

Why not just locate sites in /$prefix/$client_name/$site_url ?
Reply With Quote
Sponsored Links
  #2  
Old 5th January 2009, 07:41
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,748
Thanks: 821
Thanked 5,328 Times in 4,181 Posts
Default

The sites are linked in a absolutely natural way there is a directory for every client which contains directorys for every website. The directorys must be named with ID's and not names to prevent problems when a client or website is renamed. To make the navigation on the shell esaier, the system creates symlinks so that sites can be accessed by its name as well.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th January 2009, 08:22
eugenesan eugenesan is offline
Junior Member
 
Join Date: Dec 2008
Posts: 23
Thanks: 0
Thanked 8 Times in 5 Posts
Default

Hi,

Never thought that someone would insist to preserve his system ids when site renamed...
Anyways, links maybe are easy to navigate for a user, but adds bunch of problems since every service should be dealing with soft links instead of real locations. In addition chroot and other security related tasks may become very difficult to implement due to symlinking.
There is even a confusion in one single apache vhosts file.

Can you please specify what modules/plugins are actually affected by that behavior? I am thinking of making that behavior as optional.

BTW: Don't bite me if I am expressing new and maybe extremal ideas :-) I just want ISPC to suit my (and hopely other's) needs.
Reply With Quote
  #4  
Old 5th January 2009, 08:54
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,748
Thanks: 821
Thanked 5,328 Times in 4,181 Posts
Default

All services are using the real directories and apache is able to work fine with symlinks, so there is no such problem.

Quote:
I am thinking of making that behavior as optional.
The current behaviour should be the default behaviour and not an optional behaviour! You might add another behaviour as optional if you like. But the current behaviour will stay the default, it is the result of different approaches tested in the last 8 years and has been discussed by the ISPConfig developers before the plugins were written and thats what we agreed on.

Quote:
Can you please specify what modules/plugins are actually affected by that behavior?
All Plugins in the server part and the website module in the frontend.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 5th January 2009 at 08:56.
Reply With Quote
  #5  
Old 5th January 2009, 09:15
eugenesan eugenesan is offline
Junior Member
 
Join Date: Dec 2008
Posts: 23
Thanks: 0
Thanked 8 Times in 5 Posts
Default

Hi,

Sure, I never meant to change default behavior, an idea was to allow setup without linking for some environments.

Well, I'll have to deal with that lately and alone :-)
Reply With Quote
  #6  
Old 5th January 2009, 09:21
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,748
Thanks: 821
Thanked 5,328 Times in 4,181 Posts
 
Default

I dont see any problems with supporting an additional layout as long as it is configurable in the server settings in ISPConfig.
__________________
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


All times are GMT +2. The time now is 11:08.


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