At first sight there is no syntax error. Can you try to describe what error
you get and paste related error.log entries?

2017-05-04 9:30 GMT+02:00 Keerthi Narayan <mkeerth...@gmail.com>:

> 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
>                 </FilesMatch>
>                 <Directory /usr/lib/cgi-bin>
>                                 SSLOptions +StdEnvVars
>                 </Directory>
>                 <Directory /var/www/html>
>                         Options Indexes FollowSymLinks MultiViews
>                         AllowOverride None
>                         Order allow,deny
>                         allow from all
>                 </Directory>
>                  BrowserMatch "MSIE [2-6]" \
>                                 nokeepalive ssl-unclean-shutdown \
>                                 downgrade-1.0 force-response-1.0
>                 BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
>         </VirtualHost>
> </IfModule>
>
> 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
>
>


-- 
*Daniel Ferradal*
IT Specialist

email         dferradal at gmail.com
linkedin     es.linkedin.com/in/danielferradal

Reply via email to