my hosting company provided me rewrite rule redirect traffic https witch works expected.
rewriteengine on rewritecond %{server_port} 80 rewriterule ^(.*)$ https://example.com/$1 [r,l] fallbackresource /index.php
my subdomain application (subdomain.example.com) points same physical directory example.com , application serves different applications according request came from.
with rewrite rule request subdomain.example.com gets rewritten example.com
how rule have domains rewritten independently? fallback index.php must work domains.
try this:
rewriteengine on rewritecond %{https} !=on rewriterule .* https://%{server_name}%{request_uri} [r=304,l,qsa] fallbackresource /index.php
edit 1: hold on sec, editing there error it
edit 2: done. should work now
edit 3: edited again. found out "cache_url" isn't server variable in apache
Comments
Post a Comment