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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th October 2005, 10:42
Spum Spum is offline
Member
 
Join Date: Oct 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Layout of new users's folders.

What's the current layout?
Reply With Quote
Sponsored Links
  #2  
Old 25th October 2005, 11:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,460
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

The current layout is, assumed we have the website with ID 1 and the domain www.mydomain.com and all webs are located uder /var/www:

/var/www/web1/
Symlink: /var/www/www.mydomain.com => /var/www/web1/

The Symlink is created for easier navigation on the shell.
Inside the directory of the web we have the following folders:

logs/ Contains the logs of this website
user/ Contains the user directories
web/ contains the website data (HTML files)
cgi-bin/ CGI-Bin Directory
ssl/ SSL Certificates of this website
phptmp/ Temp directory if PHPSafemode is enabled

Inside the User directory are the homedirs of the users located, assumed we have a user named web1_admin:

/var/www/web1/user/web1_admin/

Inside the userdirectory:

Maildir/
Maildir/cur/
Maildir/new/
Maildir/tmp/
web/ In this web directory the user can put his personal homepage. The files can be accessed by www.mydomain.com/~web1_admin/

I'am not sure if we really need this userweb feature in new releases.
Reply With Quote
  #3  
Old 25th October 2005, 13:56
Spum Spum is offline
Member
 
Join Date: Oct 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

wouldn't it be easier to do something like this;

>usr/user_name/
->usr/user_name/bin <-- for binary applications to run from (for those who want to offer, say IRCd hosting)
->usr/user_name/domain.com
-->usr/user_name/sub.domain.com
---> usr/user_name/domain.com/mail
---> usr/user_name/domain.com/web <-- base level of domain
---> usr/user_name/domain.com/ftp
---> usr/user_name/domain.com/log
---> usr/user_name/domain.com/ssl
---> usr/user_name/domain.com/cgi-bin

Last edited by Spum; 25th October 2005 at 14:00.
Reply With Quote
  #4  
Old 25th October 2005, 18:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,460
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

With user_name you mean the name of the client? Clients currently have no linux system users, but in a virtual setup where mailusers and ftpusers arent systemusers anymore we can change this.
Reply With Quote
  #5  
Old 26th October 2005, 11:50
Spum Spum is offline
Member
 
Join Date: Oct 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I mean the user name you specify the client, or the client's name as a system user.
Reply With Quote
  #6  
Old 26th October 2005, 11:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,460
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Yes, this makes sense. Then the client will have one FTP account (or more when they are virtual) for all his domains.

It will be nice if this user can be chrooted with an patched SSH then it will be possible to assign SSH accounts without opening the complete server.
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
Loading folders.... INCOMPLETE MyLinux General 9 24th February 2006 16:31
LDAP and Shared Folders? nformosa General 1 12th September 2005 15:04
30 Default Imap Folders? adamluz Installation/Configuration 9 18th August 2005 23:45


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


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