httpd+ssl

Mad Unix madunix at gmail.com
Mon Jan 21 08:36:23 UTC 2008


I have the following

vi /etc/httpd/conf.d/ssl.conf
 <VirtualHost *:443>

        ServerAdmin postmaster at my.com
        DocumentRoot /var/www/mail/html
        SSLEngine on
        SSLCertificateFile /usr/local/ssl/linux.my.com.crt
        SSLCertificateKeyFile /usr/local/ssl/linux.my.com.key

        ErrorLog /var/www/mail/logs/ssl_error_log

        RewriteEngine On
        RewriteRule ^/index\.html$ http://mail.my.com/cgi-bin/sqwebmail

        ScriptAlias /cgi-bin/ "/var/www/mail/cgi-bin/"

        <Directory "/var/www/mail/cgi-bin">
            AllowOverride None
            Options None
            Order allow,deny
            Allow from all
        </Directory>

        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0

        CustomLog /var/www/mail/logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x
%{SSL_CIPHER}x \"%r\" %b"

    </VirtualHost>

[root at linux4 html]# /etc/rc.d/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 5 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not
included in the server configuration
[FAILED]

[root at linux4 html]# /etc/rc.d/init.d/httpd configtest
Syntax error on line 5 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not
included in the server configuration

any help ?

-- 
madunix



More information about the redhat-list mailing list