Jump to content
Froxlor Forum
  • 0

SSL Verbindungen auf Subdomains leiten auf root web um


nightshift

Question

Irgendwie habe ich auf einem neuem Server nun ein Problem was ich auf dem anderem nicht habe.

 

Ich habe ein Wildcard Zertifikat hinterlegt.

 

Nun leitet domain.de korrekt auf die SSL Variante um (habe ich so eingestellt)

 

Bei Subdomains funktioniert dies nicht (ist auch schon im Bugtracker gemeldet)

 

Das andere Problem was mich nun viel mehr st?rt rufe ich direkt eine Subdomain mit https auf lande ich scheinbar auf dem It Works! root. Rufe ich gleiche Adresse mit http auf lande ich korrekt da wo es hin soll.

 

Kann ich gerade nicht so ganz nachvollziehen ..

 

 

Habe wie beim letzten mal die IP Adresse mit 443 nochmal angelegt und die Zertifikatsdateien eingetragen.

 

 

Domains haben www Alias drin

Hauptdomain SSL redirect an

Subdomains mal redirect an mal aus.

 

Macht eh keinen Unterschied.

 

 

Wo k?nnte es da haken das er da einfach auf den root leitet.

 

 

Verwende FCGI /Suecec auf Debian Squeeze und die aktuelle Froxlor Version

 

Alles gestern neu installiert.

 

Domain Namen und alles eigentlich wie auf dem anderem Server installiert

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

W?re die Frage woran es liegt, denn so sieht es bei mir aus. Ist die gleiche IP wie es sie noch mit Standard Einstellungen und Port 80 gibt.

 

So sieht dann die sites-enabled conf aus:

 

 

# 10_froxlor_ipandport_78.46.116.216.443.conf
# Created 26.06.2011 00:40
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

NameVirtualHost 78.46.116.216:443
<VirtualHost 78.46.116.216:443>
DocumentRoot "/var/www/"
ServerName s1.direct-host.de
 SuexecUserGroup "froxlorlocal" "froxlorlocal"
 <Directory "/var/www/">
   AddHandler fcgid-script .php
   FCGIWrapper /var/www/php-fcgi-scripts/froxlor.panel/s1.direct-host.de/php-fcgi-starter .php
   Options +ExecCGI
   Order allow,deny
   allow from all
 </Directory>
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/ssl2.crt
SSLCertificateKeyFile /etc/apache2/ssl/ssl2.key.nopass
SSLCACertificateFile /etc/apache2/ssl/ca.crt
</VirtualHost>

 

 

Und so sieht der VHOST bei einer Subdomain aus:

 

 

# 20_froxlor_normal_vhost_webmail.direct-host.de.conf
# Created 26.06.2011 00:40
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

# Domain ID: 9 - CustomerID: 1 - CustomerLogin: pstadmin
<VirtualHost 78.46.116.216:80>
 ServerName webmail.direct-host.de
 ServerAlias *.webmail.direct-host.de
 ServerAdmin adsasdasdasdasdasasdasdasd
 DocumentRoot "/var/customers/webs/pstadmin/direct_host/webmail/"
 SuexecUserGroup "pstadmin" "pstadmin"
 <Directory "/var/customers/webs/pstadmin/direct_host/webmail/">
   <FilesMatch "\.(php)$">
     SetHandler fcgid-script
     FCGIWrapper /var/www/php-fcgi-scripts/pstadmin/webmail.direct-host.de/php-fcgi-starter .php
     Options +ExecCGI
     Order allow,deny
     allow from all
   </FilesMatch>
 </Directory>
 Alias /webalizer "/var/customers/webs/pstadmin/webalizer"
 ErrorLog "/var/customers/logs/pstadmin-error.log"
 CustomLog "/var/customers/logs/pstadmin-access.log" combined
</VirtualHost>

post-252-0-98660500-1309041511_thumb.png

post-252-0-23203400-1309041666_thumb.png

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...