@riznob wrote:
I am using apache2 on ubuntu server. I have configured all traffic to redirect to ssl. I'm using letsencrypt.org for ssl certs and it help setup the redirects. I need to exclude two file from that ssl redirect.
/piwik.js
/piwik.php - this one will likely have query string args as wellHere are the contents of my conf-available/ssl-only.conf file...
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule .* https://%{HTTP_HOST}/%{REQUEST_URI} [R=301,L,QSA]What do I need to change here to exclude these two file from being redirected to ssl?
Thanks,
Rob A
Posts: 1
Participants: 1