Current time: 04-17-2025, 04:29 PM Hello There, Guest! (LoginRegister)


Thread Closed 
[ERLEDIGT]SSL für einzelne Domain Problem
Author Message
maggot Offline
Junior Member
*

Posts: 33
Joined: Jan 2010
Reputation: 0
Post: #6
RE: SSL für einzelne Domain Problem
So funktioniert das Ganze:

Quote:<VirtualHost xxxxxxxxxx:443>
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/public.crt
SSLCertificateKeyFile /etc/apache2/ssl/private.key
SSLCertificateChainFile /etc/apache2/ssl/intermediate.crt

ServerAdmin xxxxxxxxxx
DocumentRoot /var/www/virtual/DOMAIN.com/htdocs
ServerName DOMAIN.com
ServerAlias http://www.DOMAIN.com *.DOMAIN.com


##### logs

ErrorLog /var/log/apache2/users/ssl.DOMAIN.com-error.log
TransferLog /var/log/apache2/users/ssl.DOMAIN.com-access.log
CustomLog /var/log/apache2/ssl.DOMAIN.com-traf.log traff
CustomLog /var/log/apache2/ssl.DOMAIN.com-combined.log combined
LogLevel warn

##### errors

Alias /errors /var/www/ispcp/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


<IfModule suexec_module>
SuexecUserGroup vu2002 vu2002
</IfModule>

<Directory /var/www/virtual/DOMAIN.com/htdocs>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>


<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/DOMAIN.com/:/var/www/virtual/DOMAIN.com/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/DOMAIN.com/phptmp/"
php_admin_value session.save_path "/var/www/virtual/DOMAIN.com/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2002 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/DOMAIN.com/
<Directory "/var/www/fcgi/DOMAIN.com">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/DOMAIN.com/htdocs>
FCGIWrapper /var/www/fcgi/DOMAIN.com/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/DOMAIN.com">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>

</VirtualHost>


Nun stellt sich allerdings ein anderes Problem dar, klicke ich bei dem Shop nun auf verschlüsselten Inhalt, funktioniert das einwandfrei...klicke ich dann wieder auf unverschlüsselten Inhalt (Startseite) wird dieser nicht gefunden...ich werd noch irre Sad
(This post was last modified: 08-07-2011 04:22 AM by maggot.)
08-07-2011 03:09 AM
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: SSL für einzelne Domain Problem - maggot - 08-07-2011 03:09 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)