On Feb 18, 2009, at 8:17 AM, Pete Helgren wrote:
Still struggling with this so I am reposting. I can't seem to find
a configuration that allows the images and links to properly
display. Info from prior posts:
I have a Tomcat application that serves up a web app when I use
a URL like this:
http://www.mywebsite.com:8080/MyAPP Which I wanted to change to this:
http://www.mywebsite.com/MyAPP
Using Apache I added the worker.properties file and the following
directives to an existing Apache server that has been serving
several sites.
#Tomcat Settings
# Mount the worker containing MyAPP
JKMount /MyAPP myappw
How about:
JkMount /MyApp* myappw
??
János
# Globally deny access to the WEB-INF directory
<LocationMatch '.*WEB-INF.*'>
AllowOverride None
deny from all
</LocationMatch>
The pages display but none of the images display and several of the
webapps links are broken. So, something isn't quite right. It is
almost as though the application links aren't relative to the
correct root.
I read through the JKOptions for Apache but can't tell if I need to
add one or more options to allow the links to correctly display.
The reason for the use of Apache is that there are several web sites
currently hosted on this server (PHP and static sites) served by
Apache so it seemed logical to use Tomcat with an Apache front end
to serve the Java Servlet. Any suggestions would be greatly
appreciated.
Apache/2.2.11 (Win32) DAV/2 mod_jk/1.2.27 mod_ssl/2.2.11 OpenSSL/
0.9.8i Tomcat 5.5.27
Anyone seen this before? Any suggestions?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org