Hi,
I need your help to solve my Apache issue.
I've a site on a server; in my site I've a subfolder that must be placed under ssl, called "reserved".
For now, I was been able to configure a virtual host fully ssl. So in this case, to access to my site
I've to enter
https://www.mysite.itAs I said, it's not what I need. I need to access to my site with
http://www.mysite.itand when user asks to access to pages located in "reserved" folder ssl mode must be used.
I hope I was been clear..
This is my virtual host:
<VirtualHost IP:443>
ServerName www.mysite.it
DocumentRoot /var/www/www.mysite.it
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/cert.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/key.key
<Directory /var/www/www.mysite.it>
AllowOverride FileInfo
</Directory>
</VirtualHost>Could anyone help me with simple code?
I need to use a redirect?
I'm newbie of apache world, please help me...
Thanks