ich hab gesucht und gesucht aber entweder bin ich zu blöd oder seh vor lauter bäumen den wald nicht mehr: sobald ich in meiner config SSLEngine auf on stelle zeigt mir der server meine seiten inkl. der subdomains nicht mehr an - 404 page not found.
Hat jemand eine Idee? Ist das erste mal das ich SSL auf unserem server installiere/aktiviere
hier die configs:
mydomain.conf
- Code: Select all
NameVirtualHost 192.168.1.10:80
<VirtualHost 192.168.1.10:80>
ServerAdmin support@mydomain.com
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]
RewriteRule ^(.*) http://www.mydomain.com$1 [L,R=301]
DocumentRoot /var/www/mydomain
<Directory /var/www/mydomain>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
#Display Errors abschalten
php_admin_flag display_errors on
</Directory>
ServerAlias mydomain.com
ServerName www.mydomain.com
#LOG DETAILS
ErrorLog /var/log/apache2/mydomain.com.error.log
LogLevel warn
CustomLog /var/log/apache2/mydomain.com.log combined
ServerSignature On
</VirtualHost>
<VirtualHost 192.168.1.10:443>
ServerAdmin support@mydomain.com
DocumentRoot /var/www/mydomain
SSLEngine off
SSLCertificateKeyFile /var/www/ssl/www.mydomain.com.key
SSLCertificateFile /var/www/ssl/www.mydomain.com.crt
#LOG DETAILS
ErrorLog /var/log/apache2/mydomain.com.ssl.error.log
LogLevel warn
CustomLog /var/log/apache2/mydomain.com.ssl.log combined
ServerSignature On
</VirtualHost>
images.mydomain.conf
- Code: Select all
<VirtualHost 192.168.1.10:80 >
DocumentRoot /var/www/images.mydomain
ServerName images.mydomain.com
<Directory "/var/www/images.mydomain">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Options None
#LOG DETAILS
ErrorLog /var/log/apache2/images.mydomain.com.error.log
LogLevel warn
CustomLog /var/log/apache2/images.mydomain.com.log combined
ServerSignature On
</VirtualHost>
in der httpd.conf ist nichts drin, die module sind geladen:
- Code: Select all
lrwxrwxrwx 1 root root 28 Sep 29 01:13 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 Sep 29 01:13 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 Sep 29 01:13 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 Sep 29 01:13 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 Sep 29 01:13 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 Sep 29 01:13 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 Sep 29 01:13 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 Sep 29 01:13 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 26 Sep 29 01:27 cgi.load -> ../mods-available/cgi.load
lrwxrwxrwx 1 root root 26 Sep 29 01:13 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 Sep 29 01:13 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 Sep 29 01:13 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 40 Oct 12 01:07 include.load -> /etc/apache2/mods-available/include.load
lrwxrwxrwx 1 root root 27 Sep 29 01:13 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 Sep 29 01:13 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 27 Sep 29 01:27 php5.conf -> ../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 Sep 29 01:27 php5.load -> ../mods-available/php5.load
lrwxrwxrwx 1 root root 40 Dec 3 17:09 rewrite.load -> /etc/apache2/mods-available/rewrite.load
lrwxrwxrwx 1 root root 31 Sep 29 01:13 setenvif.load -> ../mods-available/setenvif.load
-rw-r--r-- 2 root root 1781 Jun 17 2007 ssl.conf
-rw-r--r-- 2 root root 58 Jun 17 2007 ssl.load
lrwxrwxrwx 1 root root 29 Sep 29 01:13 status.load -> ../mods-available/status.load
und ansonsten fällt mir nichts mehr dazu ein.
Um jeden Tip währe ich mehr als dankbar!!!
Liebe Grüsse,
Michael