Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 27, 2008 02:07 PM by einhandsegler
Nov 26, 2008 07:11 AM|LINK
For our customer we want to show the current status of a MVC project. Therefore he goes to our server (Apache 2) something like
http://domainname.de/projectname. He must then authenticate and will be redirected via a reverse proxy to our internal IIS 6 server (somewhat like
http://internalserver/projectname/Home. But for the customer outside it looks like
http://domainname.de/projectname/Home. This seems to work for the first page and all manually hardcoded links, Images, Stylesheets etc. in the project. The Problem occurs whenever we create urls with "~" for
the base directory. Then the created link outside will not look as
http://domainame.de/projectname/About but like
Can anybody help why this happens and what to do to make it work without changing all links in the code? I assume this is not an apache problem, since we have ruby on rails apps with the same apache configuration and the links get correctly generated in
Nov 27, 2008 01:37 PM|LINK
I've solved the problem by adding an additional module to the apache webserver which rewrites all URL's in the HTML-response. I still have some strange behaviour since (only) some of the css-styles are ignored but it works at least.
Nov 27, 2008 02:07 PM|LINK
The CSS problems are also solved, they are caused because the apache module thought it was agood idea to remove the doctype. Really Cool.