Thanks, Peter.  I too tried this Sun article route without success on WIN2K. 
  Win2K doesn't like the virtual host business at all.  The other article I 
quoted works in Win2K except for the serving gifs etc. problem.  Its not 
strictly a directory problem either, having the gif in the same path as the 
jsp you have the same problem.  With Tomcat by itself, no problem.

You can't even hang the gif directory off of Apache's DocumentRoot and see 
it work like you'd want it to.

Here is the Apache access log to the typical failed service:
<ipAddress> - - [06/Mar/2002:16:27:14 -0600] "GET /examples/images/code.gif 
HTTP/1.1" 500 305

Here is the access log to the kluge direct navigate and back-navigate:
<ipAddress> - - [06/Mar/2002:16:27:14 -0600] "GET 
/examples/images/execute.gif HTTP/1.1" 304 0

Sorry I failed to mention the Windows 2000.


>From: "Peter Johnson" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: directory issues using Tomcat 4.0.2 and Apache 1.3.23 with 
>mod_webapp
>Date: Thu, 7 Mar 2002 09:24:01 +1100 (EST)
>
>I followed the site below and all works ok. Basically it describes some 
>simple changes to
>be made in server.xml
>
>http://dcb.sun.com/practices/howtos/tomcat_apache.jsp
>
>Peter
>
> > Set up these as per this URL, JSP will be functional but no gifs in  
>examples:
> > http://www.webmasterbase.com/article.php?pid=44&aid=305
> >
> > Then go to
> >
> > http://<yourApacheServerName>/examples/jsp/index.html
> >
> > Images don't serve from Apache nor from Tomcat.
> >
> > Apache thinks it should serve them from DocumentRoot/examples.
> >
> > Using Apache "Alias" and "Redirect" also fails.
> >
> > Oddly enough, you can successfully browse
> > http://<yourApacheServerName>/examples/images, manually select each 
>image  file, it
> > displays properly, then go back to the jsp with the gifs and all is  
>well for the
> > moment.
> >
> > I've spent a lot of time digging and
> > trying things with no success.  Any help would be appreciated.
> >
> > Is Tomcat and Apache incompatible (if someone wants to step out, get 
>crazy  and
> > actually have graphics in a web page)?
> >
> > Thanks
> >
> > _________________________________________________________________
> > MSN Photos is the easiest way to share and print your photos:
> > http://photos.msn.com/support/worldwide.aspx
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]> 
>For additional
> > commands: <mailto:[EMAIL PROTECTED]> Troubles with the 
>list:
> > <mailto:[EMAIL PROTECTED]>
>
>
>
>-----------------------------------------
>This email was sent using SquirrelMail.
>    "Webmail for nuts!"
>http://squirrelmail.org/
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to