ASP .Net rewritepath
I've been fiddling with rewritepath in global.asax to see if i can hide/mask some of the virtual directories but I've hit a block in that it throws an error back saying access denied on \\servername\sharename. What im trying to do is this:
- User login to site https://mydomain.com/ with windows authentication.
- At the server end it (internally) rewrites the path to /somevirtualdirectory/subgroup/userspace/
Anyone know how rewritepath works?
Thanks for the reply, I had come across the codeproject article before, and at the time i did discount it because it gets its config from web.config, which wont work i my case. The reason for this is that the urls will change based on the user logged in. However i maybe able to fiddle with it as i just noticed that it pulls the data in from global.asax so i maybe able to recreate the config in global instead of specifing in web.config.
With the second article, im still looking at the ionic ISAPI filter to see if i can use it for what i want.
In either case im not entirely sure if they will have a problem with virtual directories.