[eluser]niwa[/eluser]
Hello, I would like all urls of my web app to use SSL (https).
But I can't get it right, there is always a problem (css background-images are still loading from http://).
Is there a way I could do that simply with mod_rewrite ?
My current htaccess is :
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
Options +FollowSymLinks
# Enforce NO www
RewriteCond %{HTTP_HOST} ^www [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]
###
# Checks to see if the user is attempting to access a valid file,
# such as an image or css document, if this isn't true it sends the
# request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Thank you