Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th April 2009, 04:23
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Default use https for on 8080 for ispconfig 3

Hi!

I installed ispconfig 3 and I would like to use https://myserver:8080

I generated a self signed crt and key and tried adding mod_ssl.c to the VirtualHost section (below), but that did not work... Any ideas?

Thanks!

# vi /etc/httpd/conf/sites-available/ispconfig.vhost
Code:
######################################################
# This virtual host contains the configuration
# for the ISPConfig controlpanel
######################################################

 Listen 8080
NameVirtualHost *:8080

<VirtualHost _default_:8080>
  ServerAdmin webmaster@localhost

  <IfModule mod_fcgid.c>
    DocumentRoot /var/www/ispconfig/
    SuexecUserGroup ispconfig ispconfig
    <Directory /var/www/ispconfig/>
      Options Indexes FollowSymLinks MultiViews +ExecCGI
      AllowOverride AuthConfig Indexes Limit Options FileInfo
      AddHandler fcgid-script .php
      FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
      Order allow,deny
      Allow from all
    </Directory>
  </IfModule>

  <IfModule mod_php5.c>
    DocumentRoot /usr/local/ispconfig/interface/web/
    AddType application/x-httpd-php .php
    <Directory /usr/local/ispconfig/interface/web>
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
          php_value magic_quotes_gpc        0
    </Directory>
  </IfModule>

  <IfModule mod_ssl.c>
    SSLEngine on
    SSLCertificateFile /usr/local/ispconfig/interface/ssl/server.crt
    SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/server.key
  </IfModule>

  # ErrorLog /var/log/apache2/error.log
  # CustomLog /var/log/apache2/access.log combined
  ServerSignature Off

</VirtualHost>

<Directory /var/www/php-cgi-scripts>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<Directory /var/www/php-fcgi-scripts>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>
Reply With Quote
Sponsored Links
  #2  
Old 27th April 2009, 04:26
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Default SSL on 8080 VirtualHost Config

Maybe *:8080 should be ipaddress:8080 ... just a thought

By the way ... does anybody know what command I can use to restart ISPConfig without rebooting? Thanks!
Reply With Quote
  #3  
Old 27th April 2009, 13:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

ISPConfig is no daemon, so it neither needs to be restarted nor it can be restarted. If you want to restart apache, then use the apache start script.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 27th April 2009, 14:45
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Default

OK ... that is new. ISPConfig 2 had the ispconfig_server daemon.

Thanks!
Reply With Quote
  #5  
Old 29th April 2009, 02:29
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
 
Default Mod ssl was not installed - problem solved

I did some investigation and discovered that mod_ssl was not installed.

# yum install mod_ssl
# /etc/init.d/httpd restart

Worked! Now I can use https://mysite:8080 with the conf file above.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig: from http to https & from https to http Hans Tips/Tricks/Mods 13 12th March 2013 23:22
https on new v3 port 8080 tom88 Developers' Forum 13 9th July 2009 23:23
Can ISPConfig listen on http & https? spidie Installation/Configuration 2 31st July 2007 02:53
Firefox hangs accessing control panel in https ADM Installation/Configuration 3 21st April 2007 13:03
http redirect to https derfy Feature Requests 2 24th June 2006 21:04


All times are GMT +2. The time now is 08:15.


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