apeo Posted October 16, 2008 Posted October 16, 2008 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?
SYNACK Posted October 16, 2008 Posted October 16, 2008 These could be helpful: CodeProject: URL Rewriting with ASP.NET. Free source code and programming help Tip/Trick: Url Rewriting with ASP.NET - ScottGu's Blog
apeo Posted October 17, 2008 Author Posted October 17, 2008 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now