Can't get Rewrite rule to keep original URL
- by user38100
I have these Rewrites, but I would like to have the URL stay the same as what is typed originally, I thought removing the [R] flags would stop it but it hasn't
RewriteCond %{HTTP_HOST} ^examplea\.example\.com$ [NC]
RewriteRule (.*) http://examplea.example.com:32400/web [L]
RewriteCond %{HTTP_HOST} ^exampleb\.example\.com$ [NC]
RewriteRule (.*) http://exampleb.example.com:9091 [L]
Edit: would this work better?
RewriteCond %{HTTP_HOST} ^hello.example.com$
RewriteRule ^(/)?$ welcome [L]