Problem mit Apache + SSL und dem ausführen von CGIs
Posted: 2003-09-14 12:57
Tach zusammen !!
Hab einen Apache 1.3.27 und mod_ssl installiert. Certfitikate erstellt.
Funktioniert auch bei html Seiten. Nur wenn ein CGI ausgeführt werden soll weigert sich der Apache beharrlich und der Browser bricht ohne Verbindung ab. Ich hab schon viel rumgesucht und probiert aber bisher ohne Erfolg ...
Bei selber Konfiguration ohne SSL laufen die Scripte wunderbar.
Hier mal der VHost Eintrag:
Hat jemand ne Idee woran das liegen kann ?
Gruß
Erik
Hab einen Apache 1.3.27 und mod_ssl installiert. Certfitikate erstellt.
Funktioniert auch bei html Seiten. Nur wenn ein CGI ausgeführt werden soll weigert sich der Apache beharrlich und der Browser bricht ohne Verbindung ab. Ich hab schon viel rumgesucht und probiert aber bisher ohne Erfolg ...
Bei selber Konfiguration ohne SSL laufen die Scripte wunderbar.
Hier mal der VHost Eintrag:
Code: Select all
<VirtualHost 127.0.0.1:443>
# General setup for the virtual host
DocumentRoot "/Users/erik/Ordner/"
#ServerName has to match the server you entered into the CSR
ServerName 127.0.0.1
ServerAdmin reisswolf@macnews.de
ErrorLog /var/log/httpd/error_log
TransferLog /var/log/httpd/access_log
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
SSLProtocol all -SSLv3
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
# Path to your certificates and private key
SSLCertificateFile /etc/httpd/ssl.key/server.crt
SSLCertificateKeyFile /etc/httpd/ssl.key/server.key
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory /Users/erik/Ordner/Info.woa/wa/Query>
SSLOptions +StdEnvVars
</Directory>
# correction for browsers that don't always handle SSL connections well
SetEnvIf User-Agent ".*MSIE.*"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
# Per-Server Logging:
# The home of a custom SSL log file. Use this when you want a
# compact non-error SSL logfile on a virtual host basis.
CustomLog /var/log/httpd/ssl_request_log
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x "%r" %b"
</VirtualHost>
Gruß
Erik