httpd+ssl

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

 



I have the following

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

        ServerAdmin postmaster@xxxxxx
        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
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux