I need to use the HTTP_HOST header in a RewriteRule but change the port I cannot use SERVER_NAME as it will be different from the host header (which is what I need)
Is there a way to trim the :port off of the HTTP_HOST variable for mod_rewrite?
I need to use the HTTP_HOST header in a RewriteRule but change the port I cannot use SERVER_NAME as it will be different from the host header (which is what I need)
Is there a way to trim the :port off of the HTTP_HOST variable for mod_rewrite?