Hello Mahmood,
        Please forgive me if you have already tried this, but have you read the 
man pages on HTTPD as there are some very useful command flags which can point 
out configuration settings. You could take a look at settings for ‘Redirects' 
in the Apache2 online docs too. I’m sorry if you have already tried all of this…

Regards,
Angel aka Rammsteinium.



> On 20 Aug 2018, at 12:18, Mahmood Naderan <nt_mahm...@yahoo.com.INVALID> 
> wrote:
> 
> As I posted earlier, SSLEngine is  on
> 
> $ cat /etc/apache2/sites-available/default-ssl.conf
> <IfModule mod_ssl.c>
>         <VirtualHost _default_:443>
>                 ServerAdmin webmaster@localhost
> 
>                 DocumentRoot /var/www/html
>                <Directory /var/www/html/>
>                 Options FollowSymLinks
>                 AllowOverride All
>                 Order allow,deny
>                 allow from all
>                 </Directory>
>                 LogLevel debug ssl:debug
> 
>                 ErrorLog ${APACHE_LOG_DIR}/error.log
>                 CustomLog ${APACHE_LOG_DIR}/access.log combined
> 
>                 SSLCertificateFile 
> /home/mahmood/certi/certificate-standard_wildcard.scu.ac.ir.crt
>                 SSLCertificateKeyFile 
> /home/mahmood/certi/certificate-standard_wildcard.scu.ac.ir.key
>                 SSLCertificateChainFile /home/mahmood/certi/intermediate.crt
> 
>                 SSLEngine on
> 
>                 <FilesMatch "\.(cgi|shtml|phtml|php)$">
>                                 SSLOptions +StdEnvVars
>                 </FilesMatch>
>                 <Directory /usr/lib/cgi-bin>
>                                 SSLOptions +StdEnvVars
>                 </Directory>
>         </VirtualHost>
> </IfModule>
> 
> 
> 
> So, I really don't know why it listens to http!
> 
> 
> 
> Regards,
> Mahmood
> 
> 

Reply via email to