Huschi
Moderator
Siehe dazu: NameVirtualHost XXX has no VirtualHostsNameVirtualHost 62.75.139.126:80 has no VirtualHosts
Bitte schau mal in den Logfiles nach: /var/log/apache2/error_log
huschi.
Siehe dazu: NameVirtualHost XXX has no VirtualHostsNameVirtualHost 62.75.139.126:80 has no VirtualHosts
vs1139126:/ # /etc/init.d/apache2 restart
Syntax OK
Starting httpd2 (prefork) startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
failed
Wenn Du nicht machst was man Dir vorschlägt, können wir leider nicht helfen.Bitte schau mal in den Logfiles nach: /var/log/apache2/error_log
[Tue Oct 24 13:02:18 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 24 13:02:18 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Tue Oct 24 13:02:19 2006] [warn] pid file /var/run/httpd2.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Oct 24 13:02:19 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
[Tue Oct 24 13:24:09 2006] [notice] caught SIGTERM, shutting down
[Tue Oct 24 13:24:11 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 24 13:24:11 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Tue Oct 24 13:24:12 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
[Tue Oct 24 13:33:34 2006] [notice] caught SIGTERM, shutting down
[Tue Oct 24 13:33:35 2006] [error] Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
[Tue Oct 24 13:33:35 2006] [error] SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Tue Oct 24 13:35:16 2006] [error] Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
[Tue Oct 24 13:35:16 2006] [error] SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Tue Oct 24 13:35:57 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 24 13:35:57 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Tue Oct 24 13:35:58 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
[Tue Oct 24 13:42:25 2006] [notice] caught SIGTERM, shutting down
[Tue Oct 24 13:42:27 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 24 13:42:27 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Tue Oct 24 13:42:30 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
[Tue Oct 24 13:43:05 2006] [warn] child process 1412 still did not exit, sending a SIGTERM
[Tue Oct 24 13:43:05 2006] [notice] caught SIGTERM, shutting down
[Tue Oct 24 13:43:06 2006] [error] Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
[Tue Oct 24 13:43:06 2006] [error] SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Tue Oct 24 13:49:43 2006] [error] Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
[Tue Oct 24 13:49:43 2006] [error] SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Tue Oct 24 13:50:11 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 24 13:50:11 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Tue Oct 24 13:50:13 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
[Tue Oct 24 13:51:38 2006] [notice] caught SIGTERM, shutting down
[Tue Oct 24 13:51:40 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 24 13:51:40 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Tue Oct 24 13:51:42 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
[Tue Oct 24 15:32:27 2006] [error] [client 68.230.88.200] File does not exist: /srv/www/web1/html/robots.txt
[Tue Oct 24 17:01:43 2006] [error] [client 217.84.246.65] Directory index forbidden by rule: /srv/www/web1/html/
[Tue Oct 24 17:34:33 2006] [notice] caught SIGTERM, shutting down
[Tue Oct 24 17:34:33 2006] [error] Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
[Tue Oct 24 17:34:33 2006] [error] SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Tue Oct 24 17:37:03 2006] [error] Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
[Tue Oct 24 17:37:03 2006] [error] SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Tue Oct 24 20:24:09 2006] [error] Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
[Tue Oct 24 20:24:09 2006] [error] SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Tue Oct 24 20:30:42 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 24 20:30:42 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Tue Oct 24 20:30:43 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
[Tue Oct 24 20:55:18 2006] [error] [client 217.84.246.65] File does not exist: /srv/www/web1/html/_vti_inf.html
[Tue Oct 24 20:55:18 2006] [error] [client 217.84.246.65] File does not exist: /srv/www/web1/html/_vti_bin
[Tue Oct 24 20:55:18 2006] [error] [client 217.84.246.65] no acceptable variant: /usr/share/apache2/error/HTTP_NOT_FOUND.html.var
[Tue Oct 24 20:55:18 2006] [error] [client 217.84.246.65] no acceptable variant: /usr/share/apache2/error/HTTP_METHOD_NOT_ALLOWED.html.var
[Tue Oct 24 20:58:17 2006] [error] [client 217.84.246.65] File does not exist: /srv/www/web1/html/_vti_inf.html
[Tue Oct 24 20:58:17 2006] [error] [client 217.84.246.65] File does not exist: /srv/www/web1/html/_vti_bin
[Tue Oct 24 20:58:17 2006] [error] [client 217.84.246.65] no acceptable variant: /usr/share/apache2/error/HTTP_NOT_FOUND.html.var
[Tue Oct 24 20:58:17 2006] [error] [client 217.84.246.65] no acceptable variant: /usr/share/apache2/error/HTTP_METHOD_NOT_ALLOWED.html.var
[Wed Oct 25 11:08:17 2006] [notice] caught SIGTERM, shutting down
[Wed Oct 25 11:12:35 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 25 11:12:35 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Wed Oct 25 11:12:36 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
[Wed Oct 25 11:13:04 2006] [notice] caught SIGTERM, shutting down
[Wed Oct 25 11:13:04 2006] [error] Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
[Wed Oct 25 11:13:04 2006] [error] SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Wed Oct 25 11:14:23 2006] [error] Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
[Wed Oct 25 11:14:23 2006] [error] SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Wed Oct 25 11:16:45 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 25 11:16:45 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Wed Oct 25 11:16:45 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
Hast Du es auch gelesen?hier die Error_Log:
Init: Unable to read server certificate from file /etc/apache2/ssl.crt/server.crt
SSL Library Error: 218542222 error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
[Wed Oct 25 21:03:06 2006] [notice] caught SIGTERM, shutting down
[Wed Oct 25 21:03:09 2006] [error] Init: Private key not found
[Wed Oct 25 21:03:09 2006] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[Wed Oct 25 21:03:09 2006] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Oct 25 21:03:09 2006] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Wed Oct 25 21:03:09 2006] [error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
[Wed Oct 25 21:03:10 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 25 21:03:10 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Wed Oct 25 21:03:11 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
[Wed Oct 25 21:03:45 2006] [notice] caught SIGTERM, shutting down
[Wed Oct 25 21:03:47 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 25 21:03:47 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Wed Oct 25 21:03:47 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations
Hast Du ein SSLCertificateKeyFile?Init: Private key not found
Und evtl. in ssl_error_log (oder wie die bei Dir heißt).Bitte schau mal in den Logfiles nach: /var/log/apache2/error_log
<- APACHE_SERVER_FLAGS=""
-> APACHE_SERVER_FLAGS="-D SSL"
[Thu Oct 26 14:11:46 2006] [error] [client 217.84.219.225] error parsing URL //: Invalid host/port
#################
# Lokaler SSL-Proxy, welcher https://domain zu http://domain umleitet
#################
RewriteLock /var/lock/rewrite.lock
<VirtualHost 999.888.777.666:443>
DocumentRoot "/home/www/web1/html/sslproxy"
ServerName ssl.domain.de
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/httpd/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/ssl.key/server.key
SSLEngine on
# Rewrite-Engine einschalten fuer Umschreiben der URL
RewriteEngine on
# Logging ausschalten mit folgenden Zeilen:
#RewriteLog /dev/null
#RewriteLog 0
RewriteLog /var/log/httpd/sslproxy.log
RewriteLogLevel 1
RewriteMap lowercase int:tolower
RewriteRule ^/icons/(.+) - [L]
# Fuer MS Internet Explorer ab Version 6
RewriteRule ^/w3c/(.+) - [L]
# Kundendomain in Kleinbuchstaben umwandeln (fuer Datenbank-Lookup)
RewriteRule ^/([^/]+)/(.*) /${lowercase:$1}/$2 [S=1]
RewriteRule ^/(.*) /${lowercase:$1}
# Wenn der Host noch nicht mit ssl.domain.de übereinstimmt dann leite weiter
RewriteCond %{HTTP_HOST} !^ssl.domain.de$
RewriteRule ^/(.*) https://ssl.domain.de/%{HTTP_HOST}/$1 [R]
# Per Proxy Verbindung zu http://kundendomain/... aufbauen.
RewriteRule ^/(.*) http://$1 [P,L]
</VirtualHost>
RewriteRule ^/([^/]+)/(.*)
/${domaindb:$1}/$2
Diese Konfiguration baut eine sichere Verbindung zum Browser auf (HTTPS) und leitet alle Anfragen über das normale HTTP-Protokol an den Root-Server weiter. Da dieser sich auf dem gleichen Rechner befindet, werden die Daten nicht unverschlüsselt über das Internet übertragen.Code:#Pfad -> Domain meinedomain.de www.meinedomain.de anderedomain.de www.anderedomain.de meinssl www.meinessldomain.de
Ein kleines Beispiel:
https://ssl.domain.de/meinssl/
baut eine verschlüsselte Verbindung zwischen dem Root-Server und Ihrem Rechner auf und leitet dann die Anfrage an
http://www.meinessldomain.de
weiter.
[Sat Dec 01 15:14:24 2007] [error] [client 127.0.0.1] error parsing URL //: Invalid host/port
127.0.0.1 - - [01/Dec/2007:15:15:47 +0100] [ssl.[i]domaint[/i].de/sid#80ed7388][rid#81105ce0/initial/redir#1] (1) go-ahead with proxy request proxy:http:///error/HTTP_BAD_REQUEST.html.var [OK]
We use essential cookies to make this site work, and optional cookies to enhance your experience.