My web site uses the Telerik Grid. The site code works perfectly on my unsecured webservers. However, when it's put on a secured server, I run into the following problem:
The link and script tag references to WebResource.axd have an incorrect href (or src) value:
<link href="/iLink/WebResource.axd?d=uvyg0lEHvdVutuaoo2LwYRzRjv037l4hYuYKa6mpQChmtUuj0NatJLGgOqrfypgB0&t=633713242306327176" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />
Instead of iLink, the href should be /swh_us_win_s/iLink/WebResource.axd
I understand why its being generated incorrectly. The client talks to a proxy (https:..../swh_us_win_s/iLink) and the proxy redirects to the webserver (https:.../iLink). The webserver itself only knows about iLink, so if it's generating the path based on the server, iLink is what I'd expect. I've had to deal with this issue in the web app too. In the webapp, we set a web.config tag with the actual base url and then use it to generate the client side redirects, etc.
Anyone know a way to override what is being generated?
The link and script tag references to WebResource.axd have an incorrect href (or src) value:
<link href="/iLink/WebResource.axd?d=uvyg0lEHvdVutuaoo2LwYRzRjv037l4hYuYKa6mpQChmtUuj0NatJLGgOqrfypgB0&t=633713242306327176" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />
Instead of iLink, the href should be /swh_us_win_s/iLink/WebResource.axd
I understand why its being generated incorrectly. The client talks to a proxy (https:..../swh_us_win_s/iLink) and the proxy redirects to the webserver (https:.../iLink). The webserver itself only knows about iLink, so if it's generating the path based on the server, iLink is what I'd expect. I've had to deal with this issue in the web app too. In the webapp, we set a web.config tag with the actual base url and then use it to generate the client side redirects, etc.
Anyone know a way to override what is being generated?