Re: CSS error in jahia5.0 (2)
Philippe Vollenweider <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
Please check your mod_jk log file and change the JkLogLevel to debug
to better understand why you get a 404 on
http://www.dwizhosting.com/jahia/jahia/jsp/jahia/templates/dwizhosting/corporate_portal_templates/web_css.jsp
In your apache conf, following mount are not usefull...
JkMount /jahia/servlet/* ajp13
JkMount /jahia/*.jsp ajp13
... if you use those
jkMount /jahia/* ajp13
jkMount /jahia ajp13
Philppe
At 20.10.2006 17:40, you wrote:
>hi,
>All conf. file is right,now and restart both tomcat ,httpd.
> I found this error:
><http://www.dwizhosting.com||||-||||61.19.112.69>www.dwizhosting.com||||-||||61.19.112.69
>- - [20/Oct/2006:15:20:44 +0700] "GET
>/jahia/jsp/jahia/javascript/zimbra/versioning/ContainerVersionCompare.js
>HTTP/1.1" 304 -
>"<http://www.dwizhosting.com/jahia/>http://www.dwizhosting.com/jahia/"
>"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media
>Center PC 3.0; .NET CLR 1.0.3705; FDM)"
><http://www.dwizhosting.com||||1181||||61.19.112.69>www.dwizhosting.com||||1181||||61.19.112.69
>- - [20/Oct/2006:15:20:44 +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/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media
>Center PC 3.0; .NET CLR 1.0.3705; FDM)"
><http://www.dwizhosting.com||||1181||||61.19.112.69>www.dwizhosting.com||||1181||||61.19.112.69
>- - [20/Oct/2006:15:20:44 +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/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media
>Center PC 3.0; .NET CLR 1.0.3705; FDM)"
><http://www.dwizhosting.com||||-||||61.19.112.69>www.dwizhosting.com||||-||||61.19.112.69
>- - [20/Oct/2006:15:20:44 +0700] "GET
>/jahia/jsp/jahia/templates/dwizhosting/corporate_portal_templates/portlets.css
>HTTP/1.1" 304 -
>"<http://www.dwizhosting.com/jahia/>http://www.dwizhosting.com/jahia/"
>"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media
>Center PC 3.0; .NET CLR 1.0.3705; FDM)"
><http://www.dwizhosting.com||||-||||61.19.112.69>www.dwizhosting.com||||-||||61.19.112.69
>- - [20/Oct/2006:15:20:44 +0700] "GET
>/jahia/jsp/jahia/templates/dwizhosting/corporate_portal_templates/jforum.css
>HTTP/1.1" 304 -
>"<http://www.dwizhosting.com/jahia/>http://www.dwizhosting.com/jahia/"
>"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media
>Center PC 3.0; .NET CLR 1.0.3705; FDM)"
>
>I see 2 file is 404.(advsearch_css.jsp and web_css.jsp?...) but
>another file are work.I think mod_jk is working .
>
>pittayakom
>
>
>--------- Original Message --------
>From: [email protected]
>To: "[email protected]" <[email protected]>
>Subject: Re: CSS error in jahia5.0 (2)
>Date: 20/10/06 14:51
>
>Abd are you sure that the worker called ajp13 match the right tomcat?
>
>Also check your worker.properties files to see the worker.ajp13.port
>is the same port than you have in your tomcat/conf/server.xml, and
>also if worker.ajp13.host is the right host.
>
>Your worker.properties should look like this
>
>worker.list=ajp13
>worker.ajp13 ..port=8009
>worker.ajp13.host=localhost
>worker.ajp13.type=ajp13
>
>And your apache virtualHost should contain
>
>JkMount /jahia ajp13
>jkMount /jahia/* ajp13
>
>Then your tomcat/conf/server.xml should be "uncommented"
>
><Connector port="8009"
> enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
> emptySessionPath="true"/>
>
>Philippe
>
>
>
>At 20.10.2006 00:35, you wrote:
>>hi,
>>I add this line in my virtualhost(follow
>><http://raibledesigns.com/tomcat/>http://raibledesigns.com/tomcat/).
>>
>>JkMount /jahia/servlet/* ajp13
>>
>>JkMount /jahia/*.jsp ajp13
>>
>>jkMount /jahia/* ajp13
>>
>>jkMount /jahia ajp13
>>I still have same error file from httpd log.
>>
>>pittayakom
>>--------- Original Message --------
>>From: [email protected]
>>To: "[email protected]" <[email protected]>
>>Subject: Re: CSS error in jahia5.0 (2)
>>Date: 19/10/06 22:11
>>hi,
>>This is my mod_jk.conf:
>>.
>>.
>>.
>>Alias /jahia "/dtw/jahia5.0.0/tomcat/webapps/jahia"
>><Directory "/dtw/jahia5.0.0/tomcat/webapps/jahia">
>>Options Indexes FollowSymLinks
>></Directory>
>>#
>># The following line mounts all JSP files and the /servlet/ uri to tomcat
>>#
>>JkMount /jahia/servlet/* ajp13
>>JkMount /jahia/*.jsp ajp13
>>jkMount /jahia/* ajp13
>>jkMount /jahia ajp13
>>#
>># The following line prohibits users from directly access WEB-INF
>>#
>><Location "/jahia/WEB-INF/">
>>AllowOverride None
>>deny from all
>></Location>
>>..........
>>pittayakom
>>--------- Original Message --------
>>From: [email protected]
>>To: "[email protected]" <[email protected]>
>>Subject: Re: CSS error in jahia5.0 (2)
>>Date: 19/10/06 21:58
>>
>>I see...
>>Tomcat direct: OK
>><http://www.dwizhosting.com:8080/jahia/jsp/jahia/templates/dwizhosting/corporate_portal_templates/web_css.jsp>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>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
>><http://www.dwizhosting.com/>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: <mailto:[email protected]>[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
>><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
-------=[ 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