tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Astrid Wagner <>
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 
because of my:
<VirtualHost *>
  JkMount /iprweb/* ajp13
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.

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 []
>>Sent: Thursday, July 24, 2003 12:35 PM
>>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 
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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