Schrift
[thread]3076[/thread]

mod_ssl will nicht und ich weis nicht warum: Apache 1.3



<< >> 2 Einträge, 1 Seite
format_c
 2003-08-29 18:49
#31148 #31148
User since
2003-08-04
1706 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Hi.

Ich habe eben einen Apache Server aufgesetzt und möchte nun auch den Serer mit einer SSL Verbindung erreichen.

Auszug aus httpd.conf:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
NameVirtualHost 192.168.0.1
#...
<VirtualHost _default_:443>

# General setup for the virtual host
DocumentRoot "/srv/htdocs/web2"
ServerName server.heimnetz.de
ServerAlias www.heimnetz.de
ServerAdmin [EMAIL=secure@your.address]secure@your.address[/EMAIL]
ErrorLog /var/log/httpd/error_log
TransferLog /var/log/httpd/access_log


Wenn ich nun https://www.heimnetz.de
aufrufe kommt "Seite kann nicht angezeigt werden".
Das Zertifikat habe ich ohne passwort erstellt.

Auszug aus dem Apache Error Log
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
server:/etc/httpd/ssl.key # tail /var/log/httpd/error_log
[Fri Aug 29 16:17:15 2003] [error] [client 192.168.0.251] File does not exist: /srv/htdocs/web1/HTML_SSL
[Fri Aug 29 16:19:55 2003] [error] [client 192.168.0.251] Invalid method in request L
[Fri Aug 29 16:22:59 2003] [error] [client 192.168.0.251] Invalid method in request L
[Fri Aug 29 16:25:51 2003] [error] [client 192.168.0.2] File does not exist: /srv/htdocs/web1/HTML
[Fri Aug 29 16:25:53 2003] [error] [client 192.168.0.2] File does not exist: /srv/htdocs/web1/HTML_SSL
[Fri Aug 29 16:32:23 2003] [error] [client 192.168.0.251] Invalid method in request L
[Fri Aug 29 16:34:18 2003] [error] [client 192.168.0.251] Invalid method in request L
[Fri Aug 29 16:50:36 2003] [error] [client 192.168.0.251] Invalid method in request L
[Fri Aug 29 16:50:38 2003] [error] [client 192.168.0.251] Invalid method in request L
[Fri Aug 29 16:50:39 2003] [error] [client 192.168.0.251] Invalid method in request L
server:/etc/httpd/ssl.key #


Kann mir jemand sagen warum das nicht klappt?

Gruß Alex
Strat
 2003-08-29 23:40
#31149 #31149
User since
2003-08-04
5246 Artikel
ModeratorIn
[Homepage] [default_avatar]
also bei mir sieht der https-bereich folgendermassen aus (Apache1.3 unter Win2k):
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Listen 443
...
<VirtualHost _default_:443>
DocumentRoot "/wampp1/htdocs"
ServerName localhost
ServerAdmin [EMAIL=you@your.address]you@your.address[/EMAIL]
DocumentRoot "/wampp1/htdocs"
ErrorLog "/wampp1/logs/error_log"
TransferLog "/wampp1/logs/access_log"
SSLEngine on
SSLCertificateFile "/wampp1/apache/conf/ssl.crt/server.crt"
SSLCertificateKeyFile "/wampp1/apache/conf/ssl.key/server.key"
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/wampp1/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>
perl -le "s::*erlco'unaty.'.dk':e,y;*kn:ai;penmic;;print"
http://www.fabiani.net/
<< >> 2 Einträge, 1 Seite



View all threads created 2003-08-29 18:49.