httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keerthi Narayan <>
Subject [users@httpd] HTTPS implementation to apache2 server, localhost
Date Thu, 04 May 2017 07:30:07 GMT
Hi All,

I am trying to implement HTTPS to my local server(apache2) and below is
configuration file.   -----UBUNTU SERVER

<IfModule mod_ssl.c>
        <VirtualHost _default_:443>
                ServerAdmin user@localhost
                ServerName x.x.x.x
                ServerAlias www.x.x.x.x
                DocumentRoot /var/www/html
                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined
                SSLEngine on
                SSLCertificateFile    /etc/apache2/ssl/apache.crt
                SSLCertificateKeyFile /etc/apache2/ssl/apache.key
  <FilesMatch "\.(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                <Directory /usr/lib/cgi-bin>
                                SSLOptions +StdEnvVars
                <Directory /var/www/html>
                        Options Indexes FollowSymLinks MultiViews
                        AllowOverride None
                        Order allow,deny
                        allow from all
                 BrowserMatch "MSIE [2-6]" \
                                nokeepalive ssl-unclean-shutdown \
                                downgrade-1.0 force-response-1.0
                BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown

Please advice me what else i have to configure apart from above
configuration or correction.  So that it will get secured.

Thanks & Regards,
Keerthi Narayan

View raw message