httpd-users-de mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Diedler <adied...@tecracer.de>
Subject Apache 2.2.22 ein SSL Zertifikat für mehrere VHosts
Date Mon, 02 Jul 2012 15:04:55 GMT
Hallo,
Ist es möglich, mit einem SSL Zertifikat mehrere Virtual Hosts abzudecken, die eigentlich
sich nur durch die /[Appname]  unterscheiden?

Drei V-Hosts in der httpd-vhosts.conf

NameVirtualHost *:80

#Jira
VirtualHost *:80
    ServerAdmin webmaster@xxx.de
    DocumentRoot "C:\inetpub\wwwroot\jira"
    ServerName jira.xxx.yyy
    ServerAlias jira             
                
    Redirect permanent /jira http://jira.xxx.yyy/jira/
                
    ErrorLog "logs/jira.xxx.yyy-error.log"
    CustomLog "logs/jira.xxx.yyy-access.log" common

   Directory "C:\inetpub\wwwroot\jira"
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
                /Directory

                ## Tomcatanbindung
    JkMount /jira/* worker1
/VirtualHost

#Wiki
VirtualHost *:80
    ServerAdmin webmaster@xxx.de
    DocumentRoot "C:\inetpub\wwwroot\confluence"
    ServerName wiki.xxx.yyy
    ServerAlias wiki           
                
    ErrorLog "logs/wiki.xxx.yyy-error.log"
    CustomLog "logs/wiki.xxx.yyy-access.log" common

   Directory "C:\inetpub\wwwroot\confluence"
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
               /Directory

                ## Tomcatanbindung
    JkMount /confluence/* worker2
/VirtualHost
#Fisheye
VirtualHost *:80
    ServerAdmin webmaster@yyy.de
    DocumentRoot "C:\inetpub\wwwroot\fisheye"
    ServerName fisheye.tecracerde.local
    ServerAlias fisheye    
                
    ErrorLog "logs/fisheye.yyy.xxx-error.log"
    CustomLog "logs/fisheye.yyy.xxx-access.log" common

    Directory "C:\inetpub\wwwroot\fisheye"
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
               /Directory
                                
## Tomcatanbindung
    JkMount /fisheye/* worker3
                
/VirtualHost

In der httpd-ssl.conf steht bisher nur für den Jira Host ein Eintrag. was muss ich ergänzen,
damit es auch für Wiki und Fisheye funktioniert?
Listen 443

VirtualHost *:443

#   General setup for the virtual host
## Tomcatanbindung
    JkMount /jira/* worker1
DocumentRoot "C:\inetpub\wwwroot\jira"
ServerName support.xxx.yyy:443
ServerAdmin webmaster@xxx.yyy
ErrorLog "logs/jira.xxx.yyy-ssl-error.log"
TransferLog "logs/jira.xxx.yyy-ssl-access.log"
Redirect permanent /jira https://support.xxx.yyy/jira/

#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
SSLEngine on

.
/VirtualHost

Viele Grüße
Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: users-de-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-de-help@httpd.apache.org


Mime
View raw message