Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

URL Rewrite hide folder & files

$
0
0

hello,

here is the situation. I am using Rewrite module for the following:

  1. redirect http to https and appending folder for http://mywebsite.govmu.org redirects to https://mywebsite.govmu.org/mywebsite

Then, the redirected URL https://mywebsite.govmu.org/mywebsite is rewritten ashttps://mywebsite.govmu.org/{R:0} with a host file entry mapping the URL to the app server IP. Pattern used in rewrite rule is mywebsite+(.*)

I want users to however only see https://mywebsite.govmu.org in their browser instead of seeing the folder too. Please help me how to achieve it, thanks.


Viewing all articles
Browse latest Browse all 2482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>