Hello, just installed ISPConfig on a box, everything works fine but as i`m goin to migrate some web`s from vhcs to ISPConfig it would be great to have the directories actually look like this: /var/www/virtual/webX/htdocs instead of /var/www/virtual/webX/web is there a way to get this beaviour without hacking writeconf.php to replace web by htdocs (or just create a symlink after the web-folder was created...) ? Thanks, Alex
You can not change the directory layout without changing the ispconfig code in many places. If you want to create a symlink automatically, you should have a look at the function make_vhost or make_docroot in the file /root/ispconfig/scripts/lib/config.lib.php
Thanks, creating the symlink now works fine. I also found that this file might be the right place to apply some other changes like open_basedir restrictions for php, logifle format and directories, adjusting linebreaks in Vhst_ispconfig.conf, custom logfiles per domain etc. Is there a meachnism that re/overwrites manual changes in the apache-configuration file from a cache/working diretory or the database on each creation of a vhost like vhcs does at ISPConfig, too ? (btw, this mechanism sucks ...) Anyway, thanks a lot for the hint, Alex
The apache config files are written from this function when a website is changed. ISPConfig is open source. Feel free to write a better one
ups, this is what i suspected Sure, not an issue... I just tried to avoid too much hacking to be able to update - but that`s obviously done now Did you ever think about using single files per domain/vhost together with more fine-grained templates where only values affected by ISPConfig are actually changed for future versions ? Guess that's not such a big deal but would allow to customize without modifications being overwritten on every change in the web frontend Alex