What do the Apache logs say for those requests?

John


> -----Original Message-----
> From: Sarah Grimley [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 09, 2002 10:51 AM
> To: Tomcat Users List
> Subject: Advice please: Apache doesn't seem to resolve Tomcat symbolic
> links
> 
> 
> 
> Inside my WEBAPP my subfolders 'ICONS' and 'TEMPLATES' are 
> actually symbolic links to folders elsewhere.
> I have enabled them to be accessed by my WebApp, by placing 
> this code inside the Tomcat server.xml:
> <!-- Tomcat MY_APP Context -->
>         <Context path="/MY_APP" docBase="MY_APP" debug="0"
> reloadable="true" crossContext="true">
>         <Logger className="org.apache.catalina.logger.FileLogger"
> prefix="MY_APP_log." suffix=".txt"
> timestamp="true"/>
>         <Resources className 
> ="org.apache.naming.resources.FileDirContext"
> allowLinking="true"/>
>         </Context>
> 
> I can then refer to gifs in my HTML as:   <../icons/mypicture.gif>
> 
> This all works fine when I used Tomcat as standalone.
> 
> Now I want to use Apache with Tomcat as the webserver.
> 
> I configure Apache as follows:
> 
> <IfModule mod_webapp.c>
> 
>   WebAppConnection warpConnection warp localhost:8008
>   WebAppDeploy     examples warpConnection /examples/
>   WebAppInfo       /webapp-info
> 
>   WebAppDeploy     seqreq warpConnection /MY_APP/
> </IfModule>
> 
> 
> I also include following in the Tomcat server.xml:
> 
>  <Service name="Tomcat-Apache">
> 
>     <Connector 
> className="org.apache.catalina.connector.warp.WarpConnector"
>      port="8008" minProcessors="5" maxProcessors="75"
>      enableLookups="true" appBase="webapps"
>      acceptCount="10" debug="0"/>
> 
>     <Engine className="org.apache.catalina.connector.warp.WarpEngine"
>      name="Apache" debug="0">
> 
>       <Logger className="org.apache.catalina.logger.FileLogger"
>               prefix="apache_log." suffix=".txt"
>               timestamp="true"/>
> 
>       <Realm className="org.apache.catalina.realm.MemoryRealm" />
> 
>     </Engine>
> 
>   </Service>
> 
> Now my problem is that the symbolic links no longer 
> resolve... so my gifs are not found.  The rest of the files 
> can be accesses no problem, so I am sure it is because of the 
> 'virtual' links to the icon folder.
> 
> Can anybody help me to solve this problem?  Thank you.
> 
> 
> 
> 
> ---------------------------------
> With Yahoo! Mail you can get a bigger mailbox -- choose a 
> size that fits your needs
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to