HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   ISPConfig3 : changing documentroot (http://www.howtoforge.com/forums/showthread.php?t=26807)

omry 13th September 2008 12:40

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 omry:omry).

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.

till 13th September 2008 13:15

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.

omry 13th September 2008 15:11

Quote:

Originally Posted by till (Post 144948)
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.

till 14th September 2008 13:02

If you are experienced and familar with Linux, then maybe an hour. The Plugin is in /usr/local/ispconfig/server/plugins-available/

omry 14th September 2008 16:12

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?


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

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