Hi,

I have a  Apache/2.2.8 running as a reverse proxy in front of a .Net
application using Ajax and the gaia framework (gaiaware.net)
I have setup several ProxyHTMLURLMap for to rewrite the responses from
the application, and this works great for html content and javascript
embeded in the html.
But not for HTTPResponses with javascript only.
      The request is a HTTP Post to /myproxyurl/Default.aspx HTTP/1.1

I get the following response from the application:

  HTTP/1.1 200 OK
  Date: Fri, 06 Mar 2009 14:05:20 GMT
  Server: Microsoft-IIS/7.0
  Cache-Control: no-cache
  Pragma: no-cache
  Content-Length: 60180
  Content-Type: application/x-javascript; charset=utf-8
  Expires: -1
  X-AspNet-Version: 2.0.50727
  X-Powered-By: ASP.NET
  Keep-Alive: timeout=5, max=96
  Connection: Keep-Alive

  
$incJs('/MyApp/WebResource.axd?d=dGQs8ne3u7b0K7EaoETbR_FwF8zjp0AaLHXg0ndOpW1BmZAzE7hWisLR446zo..............

I would like to rewrite the /MyApp/ to /myproxyurl/ as I've done in
the html responses with the following ProxyHTMLURLMap:

  <Location /myproxyurl/>
                ProxyHTMLExtended On
                SetOutputFilter proxy-html
                ProxyHTMLURLMap /MyApp/WebResource.axd
/myproxyurl/WebResource.axd
                ProxyHTMLURLMap MyApp/ myproxyurl/
                ProxyHTMLDoctype XHTML Legacy
  </Location>



regards from Arne Berner

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to