"Jim Weir" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > To all, > > I am using mod_proxy_ajp w/ Apache 2.2.3/Tomcat 5.5.4 > > The problem I have with this is that I lose all my formatting from a site > build with Forrest. It seems to be returning only HTML and dropping all > the CSS...Forrest uses XML/XSLT extensively... > > (http://forrest.apache.org/) > > When I point the URL to a directory to a java Servlet based site > everything is fine. > > Why would it do this? Should I enable a certain return type in the > VirtualHost? > > <VirtualHost *:80> > ServerName www.mysite.org > ServerAdmin [EMAIL PROTECTED] > ServerAlias mysite.org *.mysite.org > DocumentRoot /usr/opt/tomcat/webapps/mysite > ErrorLog logs/mysite.org-error_log > CustomLog logs/mysite.org-access_log common > <Directory "/usr/opt/tomcat/webapps/mysite"> > Options FollowSymLinks > AllowOverride None > Order allow,deny > Allow from all > </Directory> > > <Proxy balancer://mycluster2> > BalancerMember ajp://www.mysite.org:8009/mysite > </Proxy> > <Location /mysite> > ProxyPass balancer://mycluster2 > </Location> > </VirtualHost> >
With configuration, you have http://www.mysite.org/ is understood by Apache to be the same as http://www.mysite.org/mysite/. I'm guessing that the problem is with how you are specifying relative links to you .css files. > > I am also wondering if there are any security problems with this config. > > Thank you, > Jim > > _________________________________________________________________ > Call friends with PC-to-PC calling -- FREE > http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]