[EMAIL PROTECTED] wrote:
>> Apache 2.2 makes it SOOO easy to talk to a Tomcat app by just using:
>> ProxyPass /mytomcatapp ajp://127.0.0.1:8009/mytomcatapp
>>     
>
>   
>> But the problem I'm facing is that I have an app that uses it's own
>> stylesheets and javascripts.  Further, the app itself calls the contents
>> on these directories with relative paths (ie ./stylesheets/...)  And the
>> problem is that these are not being proxied.
>>     
>
>   
>> Any ideas ?
>>     
> yes
>
> 1.  I hope you have beside your
>   ProxyPass /mytomcatapp ajp://127.0.0.1:8009/mytomcatapp
> a line 
>   ProxyPassReserve /mytomcatapp ajp://127.0.0.1:8009/mytomcatapp
> and/or
>   ProxyPreserveHost On
>
>   
Did not have the ProxyPreserveHost On, but did have ProxyPassReverse.

> 2. Either you put the stylesheets for your relative names on the apache or
> you have to put all your stylesheets and javascripts under a proxied path.
>   
Would I need a proxied path such as:

ProxyPass /mytomcatapp http://127.0.0.1:8009/mytomcatapp

(and ProxyPassReverse) in addition to the ajp ?  Or should I list them
separatedly such as:

ProxyPass /mytomcatapp/stylesheets
http://127.0.0.1:8009/mytomcatapp/stylesheets

Thanks again...

-- 

°(((=((===°°°(((===========================================

begin:vcard
fn:Ricardo Stella
n:Stella;Ricardo
org:Rider University
adr;dom:;;2083 Lawrenceville Rd;Lawrenceville;NJ;08648
version:2.1
end:vcard


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to