stig1 Posted November 23, 2010 Share Posted November 23, 2010 I have the following rule in my .htaccess file. #RewriteCond %{SERVER_PORT} ^443$ #RewriteRule !^(cart|account)(.*)$ http://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] #RewriteCond %{SERVER_PORT} ^80$ #RewriteRule ^(cart|account)(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] It seems to work, however, when I access the SSL Folders, firefox and other browsers give me that im showing unauthorised content issues. I think its referring to the images / css / js on the page. I have the css set on the page to https:// already, but the images inside are coming with http:// as firefox tells me. How can I fix this unauthorised content issue? Link to comment https://forums.phpfreaks.com/topic/219558-ssl-some-folders-no-ssl-for-other-folders/ Share on other sites More sharing options...
herghost Posted November 23, 2010 Share Posted November 23, 2010 in your css files make sure the links to the images are given as full links with https eg url(https://www.mysite.com/images/image.gif) Link to comment https://forums.phpfreaks.com/topic/219558-ssl-some-folders-no-ssl-for-other-folders/#findComment-1138341 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.