tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Redirecting apache http requests to tomcat application running on 8080
Date Fri, 27 Jan 2012 17:15:38 GMT
Monika Solanki wrote:
> Hi Andre,
> 
> The link to the xsl file in the page is
> 
> <?xml-stylesheet type='text/xsl' href='/myapp/transformation/test.xsl'?>
> 
Ok, so what you say below is not correct.

The browser is looking for "http://data.example.com/myapp/transformation/test.xsl".

And the server at "http://data.example.com" only proxies to Tomcat, the URLs which start 
with "/endpoint".  It does not proxy a URL which starts with "/myapp".

One solution : in your original page under Tomcat, change the href to the stylesheet.
Instead of having : href="/myapp/transformation/test.xsl"
change it to : href="transformation/test.xsl"

Then report what it does.

> 
> 
> 
> 
> On Fri, Jan 27, 2012 at 4:43 PM, André Warnier <aw@ice-sa.com> wrote:
> 
>> Monika Solanki wrote:
>> ...
>>
>>
>>> When tomcat sends back the response, the page looks for the transformation
>>> file, http://data.example.com/**transformation/test.xsl<http://data.example.com/transformation/test.xsl>and
of course cannot
>>> find it.
>>>
>>>  Monika,
>> tell us *exactly* how the link to the XSL file is, in the html page that
>> the browser receives.  Open the "source" of the page in the browser, find
>> the reference to the XSL, and copy and paste the tag here.
>>
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<users-unsubscribe@tomcat.apache.org>
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message