difference between ^/(.*) and ^(.*) and .* in the Apache RewriteRule Pattern
As far as I know, they are all the same. But I wonder why people use the rex in the RewriteRule Pattern. Does ^ have any performance benefits? RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L] Does / have any performance benefits? RewriteRule /(.*)…