[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

httpd+ssl



I have the following

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

        ServerAdmin postmaster 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 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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]