Mobile app version of vmapp.org
Login or Join
Turnbaugh106

: Rewrite rule is causing a redirect to another host and port rather than showing the content at the current URL I have a web application working on: next3.info:83 I want to go there with weburen.next3.nl

@Turnbaugh106

Posted in: #ModRewrite #Redirects #Url

I have a web application working on:
next3.info:83

I want to go there with weburen.next3.nl so I used this code:

RewriteEngine on
RewriteCond %{HTTP_HOST} =weburen.next3.nl
RewriteCond %{SERVER_PORT} !^83
RewriteRule ^(.*) next3.info:83/ [L]


It goes to next3.info:83 so the redirect works

But I want to see:
weburen.next3.nl not next3.info:83

How can I make this work?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Turnbaugh106

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme