ISPConfig3 : changing documentroot

Discussion in 'Installation/Configuration' started by omry, Sep 13, 2008.

  1. omry

    omry New Member

    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:
    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:eek:mry).

    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.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
  3. omry

    omry New Member

    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.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

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

    omry New Member

    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?

Share This Page