Forum Moderators: phranque
RewriteEngine on
# Switch back to HTTP if HTTPS request for anything except /file/ subdirectory resources
RewriteCond %{SERVER_PORT} ^443$
RewriteCond %{REQUEST_URI}!^/file/
RewriteRule (.*) http://www.example.org/$1 [R=301,L]
For both sites, the htaccess files are identical with only the domains changed.
The site that works correctly properly forces https for the SSL pages and http for non-ssl pages.
The other site that is this is not working forces non-ssl pages to http as it should, but the SSL pages are NOT being forced to https if http is used.
The only thing I can think of is the SSL port of 443, but support tells me it is correct.
Do .org extensions need to be handled differently? The working site uses .com.
Any ideas?
Jim