Re: CSS error in jahia5.0 (2)

Philippe Vollenweider <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
I see...

Tomcat direct: OK 
http://www.dwizhosting.com:8080/jahia/jsp/jahia/templates/dwizhosting/corporate_portal_templates/web_css.jsp

Apache: 404 
http://www.dwizhosting.com/jahia/jsp/jahia/templates/dwizhosting/corporate_portal_templates/web_css.jsp

It mean that your mount is not correct for your virtual host 
www.dwizhosting.com

You need to add the JkMount instruction in your apache <VirtualHost> section

/P.

At 19.10.2006 23:45, you wrote:
>HI,
>I add AddType text/css .css in httpd.conf and mime.type has text/css .ccs.
>I found error in log:
> 
><http://www.dwizhosting.com||||1982||||203.114.103.31>www.dwizhosting.com||||1982||||203.114.103.31 
>
>- - [19/Oct/2006:21:24:05 +0700] "GET 
>/jahia/jsp/jahia/javascript/zimbra/versioning/ContainerVersionCompare.js
>HTTP/1.1" 200 1982 
>"<http://www.dwizhosting.com/jahia/>http://www.dwizhosting.com/jahia/" 
>"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7)
>  Gecko/20060909 Firefox/1.5.0.7"
><http://www.dwizhosting.com||||1181||||203.114.103.31>www.dwizhosting.com||||1181||||203.114.103.31
>  - - [19/Oct/2006:21:24:05 +0700] "GET 
> /jahia/jsp/jahia/templates/dwizhosting/corporate_portal_templates/web_css.jsp?colorSet=blue 
> HTTP/1.1"
>  404 1181 
> "<http://www.dwizhosting.com/jahia/>http://www.dwizhosting.com/jahia/" 
> "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) 
> Gecko/20060909 Firefox/1.5.0.7"
><http://www.dwizhosting.com||||1181||||203.114.103.31>www.dwizhosting.com||||1181||||203.114.103.31
>  - - [19/Oct/2006:21:24:05 +0700] "GET 
> /jahia/jsp/jahia/templates/dwizhosting/corporate_portal_templates/advsearch_css.jsp 
> HTTP/1.1"
>  404 1181 
> "<http://www.dwizhosting.com/jahia/>http://www.dwizhosting.com/jahia/" 
> "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) 
> Gecko/20060909 Firefox/1.5.0.7"
>
>pittayakom
>--------- Original Message --------
>From: [email protected]
>To: "[email protected]" <[email protected]>
>Subject: Re: CSS error in jahia5.0
>Date: 18/10/06 19:45
>
>
>What kind of mount do you use for jk? Is it somethink like this?
>
>JkMount /jahia localWorker
>JkMount /jahia/* localWorker
>
>Then what is the generated URL to your css?
>Check the apache error log to see why you get a 404.
>
>You should perhaps better use something like
>
><link rel="stylesheet" href="<content:contextURL/>/example.css"
>type="text/css" />
>
>The tag <content:contextURL/> will return something like
>/jahia/jsp/jahia/templates/yoursitekey
>
>Philippe
>
>At 14.10.2006 23:33, you wrote:
> >hi,
> >I use mod_jk with apache and tomcat.In this
> >case:http://www.dwizhosting.com:8080/jahia work fine.Is this a
> >problem about type of css? I see in your header.inc :
> ><link rel="stylesheet"
> >href="example.css" type="text/css" />
> >
> >
> >Regards,
> >pittayakom
> >--------- Original Message --------
> >From: <mailto:[email protected]>[email protected]
> >To: "[email protected]" <[email protected]>
> >Subject: CSS error in jahia5.0
> >Date: 14/10/06 17:36
> >
> >Hi,
> >I use jahia5.0 on redhat fedora4,jdk1.5.I found some error (css file
> >?) on my site.http://www.dwizhosting.com
> >
> >Regards,
> >pitttayakom
> >
> >[email protected]
>
>-------=[ pvollenweider at jahia dot com ]=---------
>Jahia : A collaborative source CMS and Portal Server
><http://www.jahia.org/>www.jahia.org Community and product web site
><http://www.jahia.com/>www.jahia.com Commercial services company
>
>
>
>
>

-------=[ pvollenweider at jahia dot com ]=---------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.