tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Astrid Wagner <Astrid.Wag...@motorola.com>
Subject Re: problem finding css
Date Thu, 24 Jul 2003 11:29:01 GMT
No I forgot to state that http.conf has also:
DocumentRoot "/home/minerva/servers/upolu//ipr_files/static_html"
otherwise it wouldn't  find it in any case.

I assume the main.css is looked up in 
/home/oraedt/app/oracle/product/9iAS_1.0.2.2/jakarta-tomcat-4.1.24/webapps/iprweb
because of my:
<VirtualHost *>
  DocumentRoot 
/home/oraedt/app/oracle/product/9iAS_1.0.2.2/jakarta-tomcat-4.1.24/webapps/iprweb
  ServerName upolu.sps.mot.com
  JkMount /iprweb/* ajp13
</VirtualHost>
directive.
Somehow new netscape versions seem to go to the next DocumentRoot to 
find a resource when not found in first because
as stated before it works with netscape 7.
My problem is therefore:
How do I tell Apache to take main.css from the "global" DocumentRoot in 
http.conf and only the web
application from the one in the <VirtualHost> directive. Static text as 
well as web should use the same machine/port number.
I guess I have to read about the VirtualHost tag more.
Thanks anyway.
Astrid


Ralph Einfeldt wrote:

>I would expect that you have to use <link href="/html/main.css" ...>
>to get the file. Otherwise the alias directive won't match.
>
>  
>
>>-----Original Message-----
>>From: Astrid Wagner [mailto:Astrid.Wagner@motorola.com]
>>Sent: Thursday, July 24, 2003 12:35 PM
>>To: tomcat-user@jakarta.apache.org
>>Subject: problem finding css 
>>
>>
>>
>>   <link href="/main.css" rel="stylesheet" type="text/css">
>>
>>    Alias   /html/  /home/minerva/servers/upolu/ipr_files/static_html/
>>
>>The main.css is installed in 
>>/home/minerva/servers/upolu/ipr_files/static_html.
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>  
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message