I didn't realise that the ISPConfig version was already 188.8.131.52 so I decided to reinstall ISPConfig instead and now websites work with suexec, CGI, fastCGI and suPHP as long as the owners of the published files/folders in the web root have the correct GID/UID (e.g. web1 client1).
However, what is the best strategy to create virtual hosts outside of ISPConfig on the same server and avoiding 500 server errors when using suexec, CGI, fastCGI or suPHP? What I mean is how to create a user or under what user to chown files and folders so that errors are avoided.
Also now when I use the vhosts from my previous configuration which were working for the control panel accessible with https://cp.domainname.com
and webmail under https://web.domainname.com
and *:8080 also accessible in clear text. Now once ISPConfig created default vhosts during install and I copy the custom vhost to /etc/apache2/sites-available and and symlink it to /etc/apache2/sites-enabled and restart Apache the following warning occur:
Restarting web server: apache2[Tue Jun 02 13:45:14 2009] [warn] VirtualHost 184.108.40.206:443 overlaps with VirtualHost 220.127.116.11:443, the first has precedence, perhaps you need a NameVirtualHost directive
... waiting .[Tue Jun 02 13:45:16 2009] [warn] VirtualHost 18.104.22.168:443 overlaps with VirtualHost 22.214.171.124:443, the first has precedence, perhaps you need a NameVirtualHost directive
When I change the virtual host with hostname cp.* to _default_:443 then the webmail virtual host resolves with both cp.* and webmail.* and the control panel is inaccessible under https://cp.domainname.com
. In my previous configuration I only had ispconfig.vhost and some custom vhosts symlinked to sites-enabled and an ispconfig.conf file in that folder. Now there is a also default and default-ssl in sites-available. Should I delete them or is there a better or cleaner way of doing it so that the custom virtual hosts work again?
Staying with customisation, where is the best place to put the customised main.tpl.htm, header_logo.png, favicon.ico without having to copy them back each time ISPConfig is updated? One way I have done it is keeping a copy in the same folder with a .bak extension but isn't there a better way? Also some hints on how to customise default error messages in customer websites without obviously having to do it manually each time. Any other useful customisations that will maintain the branding and make the hosting panel look more professionally set up would also be useful.