Found the problem -
I had copied the build process from another project. Unknowingly that
process was adding an unmount for all gifs/jpgs etc in another config file
included in the end. I took it out now and it works.
Sorry guys for wasting your time, and thanks for trying to help.
--
View thi
Adding another tiny detail -
Requests for /myapp/xyz.htm is handled by tomcat (shows tomcat error)
requests for /myapp/pqr.html is handled by apache (shows apache error)
I checked my mime.types file (apache) and web.xml (tomcat) too. It does
contain all mime types.
--
View this message in
-- Here's the configuration in my httpd.conf
# Mod_jk settings
# Load mod_jk module
LoadModulejk_module modules/mod_jk.so
# Where to find workers.properties
JkWorkersFile /etc/tomcat6/workers.properties
# Where to put jk shared memory
JkShmFile /var/log/tomcat6/mod_jk.shm
# Where to put
ankush2kn wrote:
Hi,
I am using apache & Tomcat with mod_jk.
When i point my browser to "www.mycompany.com/myapp", myapp works fine and
displays index.jsp. However, none of the images in my jsp show up. In fact,
all JSPs & HTMLs in myapp load fine, but none of the images (gif/jpg) or the
scrip
On Tue, Oct 20, 2009 at 8:14 AM, ankush2kn wrote:
>
> Looks like the 404 is generated by Httpd.
Then it sounds like your configuration isn't forwarding requests for
images to Tomcat.
I haven't used mod_jk in forever, but maybe if you post the relevant
part of your config file here someone will s
Looks like the 404 is generated by Httpd.
I think so because when i type in a bad JSP url, i get my applications
'page-not-found' error page. But for gif/jpg, i get --
Not Found
The requested URL /nuride/images/amazon.jpg was not found on this server.
Hassan Schroeder-2 wrote:
>
> On Tue, Oc
On Tue, Oct 20, 2009 at 8:02 AM, ankush2kn wrote:
> I am using apache & Tomcat with mod_jk.
>
> When i point my browser to "www.mycompany.com/myapp", myapp works fine and
> displays index.jsp. However, none of the images in my jsp show up. In fact,
> all JSPs & HTMLs in myapp load fine, but none