Hi guys, i ran 1.07 ISCP until this week, I was a happy user of that project all the way back to the VHCS days, and I really waited and watched to decide whether to come with you guys or the EASYSCP folk. I'm confident I went with the right fork.
Ubuntu 12.04
IMSCP 1.1.0-rc1.3
With that said my ISPCP box used the mod in their howto for SSL to listen on port 8443, I have a godaddy Turbo SSL certificate and use it for 2 domains.
I copied the contents of my 00_master.conf from ISPCP 1.07 into the 00_master.conf of IMSCP but apache will not start, /var/log/apache2/error.log yields no log entries. I did find the wiki article
http://wiki.i-mscp.net/doku.ph…nel_on_port_8443_with_ssl which looks like the mod i used, is there something fundamentally different about 1.07 ispcp and IMSCP 1.1.0-rc1.3 that you might be able to point out to help me fix my problem or give me some advice to point me in the right direction?
I am unclear for the docs on using your own SSL certificates within IMSCP and the forums tend to say you can only use one ip per SSL domain, which my turbo ssl certificate allows me 5 domains, so thats the direction i want to go. Where Should I start
Here is my old ispCP 1.07 master.conf that worked like a champ:
I of course did a global replace on all ISPCP to imscp for path references:
so 2 questions why am i not getting log entries for apache and any thoughts on why this doesn't work:
- <VirtualHost 66.76.201.61:80>
- ServerName admin.controlpanel.com
- ServerAlias webmail.*
- RewriteEngine on
- RewriteCond %{HTTP_HOST} ^webmail\..* [NC]
- RewriteRule ^/(.*) https://admin.controlpanel.com/webmail/ [R=301]
- #RewriteLog "/var/log/apache2/rewrite.log"
- Redirect permanent /webmail https://admin.controlpanel.com/webmail
- Redirect permanent /pma https://admin.controlpanel.com/pma
- Redirect permanent /ftp https://admin.controlpanel.com/ftp
- Redirect permanent / https://admin.controlpanel.com/admin/index.php
- </VirtualHost>
- <VirtualHost 66.76.201.61:443>
- ServerName admin.controlpanel.com
- ServerAlias webmail.*
- Alias /webmail /var/www/imscp/gui/tools/webmail/
- Alias /pma /var/www/imscp/gui/tools/pma/
- Alias /ftp /var/www/imscp/gui/tools/filemanager/
- SSLEngine On
- SSLCertificateFile /etc/ssl/idsnetworks.com.crt
- SSLCertificateKeyFile /etc/ssl/idsnetworks.key
- SSLCertificateChainFile /etc/ssl/gd_bundle.crt
- RewriteEngine on
- RewriteCond %{HTTP_HOST} ^admin.controlpanel.com$ [NC]
- RewriteCond %{REQUEST_URI} !^\/(webmail|pma|ftp)($|\/.*) [NC]
- RewriteCond %{REQUEST_URI} !^\/php5\/php5-fcgi-starter\/webmail\/index.php [NC]
- RewriteCond %{REQUEST_URI} !^\/php5\/php5-fcgi-starter\/pma\/.* [NC]
- RewriteCond %{REQUEST_URI} !^\/php5\/php5-fcgi-starter\/ftp\/.* [NC]
- RewriteRule ^/.* https://admin.controlpanel.com:8443/ [L]
- #RewriteLogLevel 4
- #RewriteLog "/var/log/apache2/rewrite.log"
- <IfModule suexec_module>
- SuexecUserGroup vu2000 vu2000
- </IfModule>
- <IfModule mod_fcgid.c>
- <Directory /var/www/imscp/gui>
- FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
- Options +ExecCGI
- </Directory>
- <Directory "/var/www/fcgi/master">
- AllowOverride None
- Options +ExecCGI MultiViews -Indexes
- Order allow,deny
- Allow from all
- </Directory>
- </IfModule>
- <IfModule mod_fastcgi.c>
- ScriptAlias /php5/ /var/www/fcgi/master/
- <Directory "/var/www/fcgi/master">
- AllowOverride None
- Options +ExecCGI MultiViews -Indexes
- Order allow,deny
- Allow from all
- </Directory>
- </IfModule>
- </VirtualHost>
- <VirtualHost 66.76.201.62:443>
- ServerName mydomain.com
- ServerAlias webmail.*
- Alias /webmail /var/www/imscp/gui/tools/webmail/
- Alias /pma /var/www/imscp/gui/tools/pma/
- Alias /ftp /var/www/imscp/gui/tools/filemanager/
- SSLEngine On
- SSLCertificateFile /etc/ssl/idsnetworks.com.crt
- SSLCertificateKeyFile /etc/ssl/idsnetworks.key
- SSLCertificateChainFile /etc/ssl/gd_bundle.crt
- <IfModule suexec_module>
- SuexecUserGroup vu2011 vu2011
- </IfModule>
- ServerAdmin webmaster@mydomain.org
- DocumentRoot /var/www/virtual/mydomain.com/htdocs
- ServerName mydomain.com
- ServerAlias www.mydomain.com mydomain.com *.mydomain.com
- Alias /errors /var/www/virtual/mydomain.com/errors/
- RedirectMatch permanent ^/ftp([\/]?) http://admin.controlpanel.com/ftp/
- RedirectMatch permanent ^/pma([\/]?) http://admin.controlpanel.com/pma/
- RedirectMatch permanent ^/webmail([\/]?) http://admin.controlpanel.com/webmail/
- ErrorDocument 401 /errors/401.html
- ErrorDocument 403 /errors/403.html
- ErrorDocument 404 /errors/404.html
- ErrorDocument 500 /errors/500.html
- ErrorDocument 503 /errors/503.html
- <IfModule mod_cband.c>
- CBandUser mydomain.com
- </IfModule>
- # httpd awstats support BEGIN.
- <Location /stats>
- <IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=mydomain.com&$3 [NC,L]
- </IfModule>
- AuthType Basic
- AuthName "Statistics for domain mydomain.com"
- AuthUserFile /var/www/virtual/mydomain.com/.htpasswd
- AuthGroupFile /var/www/virtual/mydomain.com/.htgroup
- Require group statistics
- </Location>
- # httpd awstats support END.
- # httpd dmn entry cgi support BEGIN.
- # httpd dmn entry cgi support END.
- <Directory /var/www/virtual/mydomain.com/htdocs>
- # httpd dmn entry PHP support BEGIN.
- # httpd dmn entry PHP support END.
- Options -Indexes Includes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- # httpd dmn entry PHP2 support BEGIN.
- <IfModule mod_php5.c>
- php_admin_value open_basedir "/var/www/virtual/mydomain.com/:/var/www/virtual/mydomain.com/phptmp/:/usr/share/php/"
- php_admin_value upload_tmp_dir "/var/www/virtual/mydomain.com/phptmp/"
- php_admin_value session.save_path "/var/www/virtual/mydomain.com/phptmp/"
- php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2013 -t -i'
- </IfModule>
- <IfModule mod_fastcgi.c>
- ScriptAlias /php5/ /var/www/fcgi/mydomain.com/
- <Directory "/var/www/fcgi/mydomain.com">
- AllowOverride None
- Options +ExecCGI -MultiViews -Indexes
- Order allow,deny
- Allow from all
- </Directory>
- </IfModule>
- <IfModule mod_fcgid.c>
- <Directory /var/www/virtual/mydomain.com/htdocs>
- FCGIWrapper /var/www/fcgi/mydomain.com/php5-fcgi-starter .php
- Options +ExecCGI
- </Directory>
- <Directory "/var/www/fcgi/mydomain.com">
- AllowOverride None
- Options +ExecCGI MultiViews -Indexes
- Order allow,deny
- Allow from all
- </Directory>
- </IfModule>
- # httpd dmn entry PHP2 support END.
- Include /etc/apache2/imscp/mydomain.com.conf
- </VirtualHost>
- <VirtualHost 66.76.201.61:8443>
- ServerAdmin drichmond@idsnetworks.com
- DocumentRoot /var/www/imscp/gui
- ServerName admin.controlpanel.com
- Alias /errors /var/www/imscp/gui/errordocs/
- ErrorDocument 401 /errors/401.html
- ErrorDocument 403 /errors/403.html
- ErrorDocument 404 /errors/404.html
- ErrorDocument 500 /errors/500.html
- ErrorDocument 503 /errors/503.html
- SSLEngine On
- SSLCertificateFile /etc/ssl/idsnetworks.com.crt
- SSLCertificateKeyFile /etc/ssl/idsnetworks.key
- SSLCertificateChainFile /etc/ssl/gd_bundle.crt
- Alias /pma /var/www/imscp/gui/tools/pma/
- Alias /webmail /var/www/imscp/gui/tools/webmail/
- Alias /ftp /var/www/imscp/gui/tools/filemanager/
- #Fix path for entering roundcube from imscp
- Redirect permanent /tools/webmail/src/login.php /tools/webmail/index.php
- RewriteEngine on
- RewriteCond %{HTTP_HOST} ^webmail\..* [NC]
- RewriteRule ^/(.*) https://admin.controlpanel.com:8443/tools/webmail/$1 [L,R]
- #RewriteLog "/var/log/apache2/rewrite.log"
- <IfModule suexec_module>
- SuexecUserGroup vu2000 vu2000
- </IfModule>
- <Directory /var/www/imscp/gui>
- Options -Indexes Includes FollowSymLinks MultiViews
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- <IfModule mod_fcgid.c>
- <Directory /var/www/imscp/gui>
- FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
- Options +ExecCGI
- </Directory>
- <Directory "/var/www/fcgi/master">
- AllowOverride None
- Options +ExecCGI MultiViews -Indexes
- Order allow,deny
- Allow from all
- </Directory>
- </IfModule>
- <IfModule mod_fastcgi.c>
- ScriptAlias /php5/ /var/www/fcgi/master/
- <Directory "/var/www/fcgi/master">
- AllowOverride None
- Options +ExecCGI MultiViews -Indexes
- Order allow,deny
- Allow from all
- </Directory>
- </IfModule>
- <IfModule mod_php5.c>
- <Directory /var/www/imscp/gui>
- php_admin_value open_basedir "/var/www/imscp/gui/:/etc/imscp/:/var/run/imscp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
- php_admin_value session.save_path "/var/www/imscp/gui/phptmp/"
- php_admin_value upload_tmp_dir "/var/www/imscp/gui/phptmp/"
- </Directory>
- </IfModule>
- </VirtualHost>
Thank you very much for continuing with this fantastic control panel!