Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th September 2008, 12:40
omry omry is offline
Junior Member
 
Join Date: Sep 2008
Posts: 23
Thanks: 3
Thanked 3 Times in 3 Posts
Default ISPConfig3 : changing documentroot

Hi,
I am trying to figure out if I can get ispconfig3 to work the way I want it to:
in a nut shell,
I have some regular system users (with home dirs at /home/user).
I want to use ispconfig to manage their sites.
each user should have a
~/www/ dir, with vhost dirs in it. like:
/home/user/www/site1.domain.com
/home/user/www/site2.domain.com
etc
inside those dirs I expect the regular ispconfig files (web,ssl,log etc).
suphp should work for those sites under the user and group of the user on the system (ie, for me it would be omrymry).

I tried to change the document root and user/group in the web domain options tab, but it didn't take effect (options reverted back after I saved them).

Till mentioned that it's problematic and requires the dir and user to exits beforehand - they do.

any help will be appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 13th September 2008, 13:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,419
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

ISPConfig is not made for this kind of configuration. You will have to write a new apache2 plugin if you want to work it this way.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 13th September 2008, 15:11
omry omry is offline
Junior Member
 
Join Date: Sep 2008
Posts: 23
Thanks: 3
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
ISPConfig is not made for this kind of configuration. You will have to write a new apache2 plugin if you want to work it this way.
how much work would you estimate something like this to be?
I am an experienced php developer, but know next to nothing about ispconfig internals.
Reply With Quote
  #4  
Old 14th September 2008, 13:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,419
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

If you are experienced and familar with Linux, then maybe an hour. The Plugin is in /usr/local/ispconfig/server/plugins-available/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th September 2008, 16:12
omry omry is offline
Junior Member
 
Join Date: Sep 2008
Posts: 23
Thanks: 3
Thanked 3 Times in 3 Posts
 
Default

sounds like what you really suggest is to copy the current plugin, and modify it as a new plugin to suite my needs.

care to share info on how you test your plugins when you develop them?
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
Disallowing changing forwards in mailuser bolero Installation/Configuration 4 8th August 2008 17:08
chgrp error new user DKA General 15 28th July 2008 17:45
Changing defults of IspConfig lrider General 3 25th February 2008 09:37
ISPConfig adds two DocumentRoot to a virtual host cryptic General 3 9th November 2006 09:56
websites outside ISPConfig guidovanh Installation/Configuration 13 7th March 2006 22:56


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


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