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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th March 2008, 11:27
Master One Master One is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Smile Howto integrate SSL Proxy Feature into ISPConfig [SOLVED]

Isn't it strange, that there seems to be no demand for a SSL Proxy feature for ISPConfig?

I mean, IPs are rare, SSLcerts cost money, so a logical conclusion is to be able to use just one IP & SSLcert for a bunch of hosted sites like this:


And this is the sslproxy.conf that does the magic (found here):
Code:
RewriteLock     /var/lock/rewrite.lock

<VirtualHost 999.888.777.666:443>
  DocumentRoot "/home/www/web1/html/sslproxy"
  ServerName ssl.domain.de
  SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  SSLCertificateFile /etc/httpd/ssl.crt/server.crt
  SSLCertificateKeyFile /etc/httpd/ssl.key/server.key
  SSLEngine on
  # Rewrite-Engine einschalten fuer Umschreiben der URL
  RewriteEngine   on
  # Logging ausschalten mit folgenden Zeilen:
  #RewriteLog     /dev/null
  #RewriteLog     0
  RewriteLog      /var/log/httpd/sslproxy.log
  RewriteLogLevel 1
  RewriteMap      lowercase       int:tolower
  RewriteRule     ^/icons/(.+)  -                               [L]
  # Fuer MS Internet Explorer ab Version 6
  RewriteRule     ^/w3c/(.+)      -                               [L]
  # Kundendomain in Kleinbuchstaben umwandeln (fuer Datenbank-Lookup)
  RewriteRule     ^/([^/]+)/(.*)  /${lowercase:$1}/$2             [S=1]
  RewriteRule     ^/(.*)          /${lowercase:$1}
  # Wenn der Host noch nicht mit ssl.domain.de bereinstimmt dann leite weiter
  RewriteCond %{HTTP_HOST}                !^ssl.domain.de$
  RewriteRule     ^/(.*)                  https://ssl.domain.de/%{HTTP_HOST}/$1    [R]
  # Per Proxy Verbindung zu http://kundendomain/... aufbauen.
  RewriteRule     ^/(.*)                  http://$1               [P,L]

</VirtualHost>
Can anybody tell me, how to integrate this into ISPConfig, so that the change does not get automatically overwritten by ISPConfig?

Anything else to take care of, when using this feature for all sites managed by ISPConfig?

P.S. Wouldn't it make sense, to include this feature into the ISPConfig core?

Last edited by Master One; 24th March 2008 at 16:46.
Reply With Quote
Sponsored Links
  #2  
Old 24th March 2008, 16:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,070
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Add this configuration in your apache2.conf or httpd.conf file right before the include for the Vhost_ispconfig.conf file.

Maybe we will integrate this in ISPConfig, I added it as feature request to the bugtracker.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Master One (24th March 2008)
  #3  
Old 24th March 2008, 16:38
Master One Master One is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
 
Smile

Quote:
Originally Posted by till
Add this configuration in your apache2.conf or httpd.conf file right before the include for the Vhost_ispconfig.conf file.

Maybe we will integrate this in ISPConfig, I added it as feature request to the bugtracker.
Cool! Thanks a lot for the quick reply, now I can give ISPConfig a go.
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
HowTo start developing ISPConfig till Developers' Forum 18 25th April 2014 20:43
ISPConfig and SSL Certificates phamels Installation/Configuration 48 2nd April 2009 18:33
SSL Issue - Unable to connect to any site Menzor Installation/Configuration 4 27th May 2007 04:03
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16
Howto Suse 10 x86_64 and ISPConfig SeaWolf Tips/Tricks/Mods 10 28th January 2006 21:07


All times are GMT +2. The time now is 22:48.


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