Apache, Lighttpd, nginx, Cherokee
michseel
Posts: 96 Joined: 2004-08-17 15:40
Post
by michseel » 2005-10-31 00:46
Hallo,
ich habe mir auf einen vServer ein SSL-Zertifikat selbst erstellt und einen SSL-Proxy eingerichtet. Leider startet der Apache nicht mehr neu. Folgender Error wird mir angezeigt:
Code: Select all
Configuration syntax error detected. Not reloading.
Syntax error on line 12 of /etc/apache/sslproxy.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration
Die Datei sslproxy.conf:
Code: Select all
NameVirtualHost 123.456.78.9:443
<VirtualHost 123.456.78.9:443>
ServerName ssl.meinedomain.de
DocumentRoot /var/www/ssl
Alias /img /var/www/ssl/img
Alias /phpmyadmin /var/www/phpmyadmin
SSLEngine On
SSLCertificateFile /etc/apache/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache/ssl.key/server.key
</VirtualHost>
Kann mir jemand sagen, was ich falsch gemacht habe oder was fehlt?
Gruß
michseel
neffe
Posts: 25 Joined: 2002-08-14 17:44
Location: Berlin
Contact:
Post
by neffe » 2005-10-31 06:13
Hallo,
Code: Select all
module not included in the server configuration
dem fehlt offenbar das SSL Modul.
auch ist in der Configuration nichts von einem Proxy Server zu erkennen, das sieht aus wie ein ganz normaler vHost.
Gruß Neffe
michseel
Posts: 96 Joined: 2004-08-17 15:40
Post
by michseel » 2005-10-31 08:09
Ja da hab ich mich wohl falsch ausgedrückt, ist ein normaler vHost und soll auch einer sein.
In der modules.conf ist folgendes eingetragen:
Code: Select all
LoadModule ssl_module /usr/lib/apache/1.3/mod_ssl.so
In der httpd.conf ist eingetragen:
Ist das nicht ausreichend?
Gruß
Michael
Roger Wilco
Posts: 5923 Joined: 2004-05-23 12:53
Post
by Roger Wilco » 2005-10-31 10:29
michseel wrote: In der modules.conf ist folgendes eingetragen:
Code: Select all
LoadModule ssl_module /usr/lib/apache/1.3/mod_ssl.so
Und das Modul wird auch sicher
vor der sslproxy.conf geladen? :roll:
michseel
Posts: 96 Joined: 2004-08-17 15:40
Post
by michseel » 2005-10-31 11:07
Das SSL-Modul wurde nicht korrekt geladen. Hab das jetzt manuell in die httpd.conf eingetragen, jetzt funktioniert es. :-)