Hello,
I have multiple applications on one location (one computer, one subnet etc) and
I want to access them from another location using one server name/port.
I can use a proxy server which maps application as follows:
http://proxy.ip:80/app1/ ->
http://cassini.ip:app1port/
http://proxy.ip:80/app2/ ->
http://cassini.ip:app2port/
When I use relative paths then this works.
(at least it seems i got everything working when I put files
into subdir which has the same name as the proxy folder)
http://proxy.ip:80/app1/ ->
http://cassini.ip:app1port/app1/
http://proxy.ip:80/app2/ ->
http://cassini.ip:app2port/app2/
All my files and references work, but there is one problem.
Automatically generated links to "~/WebResource.axd" refer to
"http://proxy.ip:80/WebResource.axd" and that cannot be redirected to
correct location.
Questions:
Can I change the link from "~/WebResource.axd"
to "/app1/WebResource.axd" or "app1/WebResource.axd" or "WebResource.axd"
or "SomeOtherName.axd"
- just one configuration setting somewhere?
Or can I get rid of WebResource.axd and put the resources to app directory?
- probably not?
Or can I put resources from different applications to one WebResource.axd
- probably not?
Feature requests:
Looking for the possibility to configure application so that the application would not be in
server root, but would have a application directory name.
url pattern:
http://cassini.ip:app1port/appdir/
even if there can be only one appdir!
Thank you!