What is OPML?
Re: CSS error in jahia5.0 (2)
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Content Management System > Re: CSS error in jahia5.0 (2) 20 October 2006 12:33:28

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Re: CSS error in jahia5.0 (2)

Philippe Vollenweider 20 October 2006 12:33:28
 I see...

Tomcat direct: OK
http://www.dwizhost­ing.com:8080/jahia/j­sp/jahia/templates/d­wizhosting/corporate­_portal_templates/we­b_css.jsp

Apache: 404
http://www.dwizhost­ing.com/jahia/jsp/ja­hia/templates/dwizho­sting/corporate_port­al_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.dwizho­sting.com||||1982|||­|203.114.103.31>www.­dwizhosting.com||||1­982||||203.114.103.3­1 >
- - [19/Oct/2006:21:24:05 +0700] "GET >/jahia/jsp/jahia/j­avascript/zimbra/ver­sioning/ContainerVer­sionCompare.js>HTTP/­1.1" 200 1982 >"<http://www.dwizh­osting.com/jahia/>ht­tp://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"><ttp://www.dwizhostin­g.com||||1181||||203­.114.103.31>www.dwiz­hosting.com||||1181|­|||203.114.103.31> - - [19/Oct/2006:21:24:05 +0700] "GET > /jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/web_css.jsp?c­olorSet=blue > HTTP/1.1"> 404 1181 > "<http://www.dwizho­sting.com/jahia/>htt­p://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"><ttp://www.dwizhostin­g.com||||1181||||203­.114.103.31>www.dwiz­hosting.com||||1181|­|||203.114.103.31> - - [19/Oct/2006:21:24:05 +0700] "GET > /jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/advsearch_css­.jsp > HTTP/1.1"> 404 1181 > "<http://www.dwizho­sting.com/jahia/>htt­p://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: dev_list@jahia.org>­To: "dev_list@jahia.org­" <dev_list@jahia.org­>>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:cont­extURL/>/example.css­">type="text/css" />>
The tag <content:contextURL­/> will return something like>/jahia/jsp/jah­ia/templates/yoursit­ekey>
Philippe>
At 14.10.2006 23:33, you wrote:> >hi,> >I use mod_jk with apache and tomcat.In this> >case:http://www.dw­izhosting.com:8080/j­ahia 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:dev_list@ja­hia.org>dev_list@jah­ia.org> >To: "dev_list@jahia.org­" <dev_list@jahia.org­>> >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.dwi­zhosting.com> >
Regards,> >pitttayakom> >
pittayakom@datawiz­.co.th>
-------=[ 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.ja­hia.com/>www.jahia.c­om 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


Add comment
Pittayakom 20 October 2006 01:10:59 permanent link ]
 hi,
This is my mod_jk.conf:
.
.
.

Alias /jahia "/dtw/jahia5.0.0/to­mcat/webapps/jahia"

<Directory "/dtw/jahia5.0.0/to­mcat/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: dev_list@jahia.org
To: "dev_list@jahia.org­" <dev_list@jahia.org­>
Subject: Re: CSS error in jahia5.0 (2)
Date: 19/10/06 21:58


I see...

Tomcat direct: OK
http://www.dwizhost­ing.com:8080/jahia/j­sp/jahia/templates/d­wizhosting/corporate­_portal_templates/we­b_css.jsp [http://www.dwizhost­ing.com:8080/jahia/j­sp/jahia/templates/d­wizhosting/corporate­_portal_templates/we­b_css.jsp]

Apache: 404
http://www.dwizhost­ing.com/jahia/jsp/ja­hia/templates/dwizho­sting/corporate_port­al_templates/web_css­.jsp [http://www.dwizhost­ing.com/jahia/jsp/ja­hia/templates/dwizho­sting/corporate_port­al_templates/web_css­.jsp]

It mean that your mount is not correct for your virtual host
www.dwizhosting.com­ [http://www.dwizhost­ing.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.dwizho­sting.com||||1982|||­|203.114.103.31>www.­dwizhosting.com||||1­982||||203.114.103.3­1 >
- - [19/Oct/2006:21:24:05 +0700] "GET >/jahia/jsp/jahia/j­avascript/zimbra/ver­sioning/ContainerVer­sionCompare.js >HTTP/1.1" 200 1982 >"<http://www.dwizh­osting.com/jahia/>ht­tp://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.dwizho­sting.com||||1181|||­|203.114.103.31>www.­dwizhosting.com||||1­181||||203.114.103.3­1 > - - [19/Oct/2006:21:24:05 +0700] "GET >
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/web_css.jsp?c­olorSet=blue > HTTP/1.1" > 404 1181 >
"<http://www.dwizho­sting.com/jahia/>htt­p://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.dwizho­sting.com||||1181|||­|203.114.103.31>www.­dwizhosting.com||||1­181||||203.114.103.3­1 > - - [19/Oct/2006:21:24:05 +0700] "GET >
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/advsearch_css­.jsp > HTTP/1.1" > 404 1181 >
"<http://www.dwizho­sting.com/jahia/>htt­p://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: dev_list@jahia.org [mailto:dev_list@jahia.org] >To: "dev_list@jahia.org­" <dev_list@jahia.org­> >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:cont­extURL/>/example.css­" >type="text/css" /> >
The tag <content:contextURL­/> will return something like >/jahia/jsp/jahia/t­emplates/yoursitekey­ >
Philippe >
At 14.10.2006 23:33, you wrote: > >hi, > >I use mod_jk with apache and tomcat.In this > >case:http://www.dw­izhosting.com:8080/j­ahia 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:dev_list@ja­hia.org>dev_list@jah­ia.org > >To: "dev_list@jahia.org­" <dev_list@jahia.org­> > >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.dwi­zhosting.com > >
Regards, > >pitttayakom > >
pittayakom@datawiz­.co.th >
-------=[ 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 [http://www.jahia.or­g/] Community and product web
site
www.jahia.com [http://www.jahia.co­m/] Commercial services company

Add comment
Pittayakom 20 October 2006 01:35:45 permanent link ]
 hi,
I add this line in my virtualhost(follow
http://raibledesign­s.com/tomcat/ [http://raibledesign­s.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: dev_list@jahia.org
To: "dev_list@jahia.org­" <dev_list@jahia.org­>
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/to­mcat/webapps/jahia"

<Directory "/dtw/jahia5.0.0/to­mcat/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: dev_list@jahia.org
To: "dev_list@jahia.org­" <dev_list@jahia.org­>
Subject: Re: CSS error in jahia5.0 (2)
Date: 19/10/06 21:58


I see...

Tomcat direct: OK
http://www.dwizhost­ing.com:8080/jahia/j­sp/jahia/templates/d­wizhosting/corporate­_portal_templates/we­b_css.jsp [http://www.dwizhost­ing.com:8080/jahia/j­sp/jahia/templates/d­wizhosting/corporate­_portal_templates/we­b_css.jsp]

Apache: 404
http://www.dwizhost­ing.com/jahia/jsp/ja­hia/templates/dwizho­sting/corporate_port­al_templates/web_css­.jsp [http://www.dwizhost­ing.com/jahia/jsp/ja­hia/templates/dwizho­sting/corporate_port­al_templates/web_css­.jsp]

It mean that your mount is not correct for your virtual host
www.dwizhosting.com­ [http://www.dwizhost­ing.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.dwizho­sting.com||||1982|||­|203.114.103.31>www.­dwizhosting.com||||1­982||||203.114.103.3­1 >
- - [19/Oct/2006:21:24:05 +0700] "GET >/jahia/jsp/jahia/j­avascript/zimbra/ver­sioning/ContainerVer­sionCompare.js >HTTP/1.1" 200 1982 >"<http://www.dwizh­osting.com/jahia/>ht­tp://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.dwizho­sting.com||||1181|||­|203.114.103.31>www.­dwizhosting.com||||1­181||||203.114.103.3­1 > - - [19/Oct/2006:21:24:05 +0700] "GET >
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/web_css.jsp?c­olorSet=blue > HTTP/1.1" > 404 1181 >
"<http://www.dwizho­sting.com/jahia/>htt­p://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.dwizho­sting.com||||1181|||­|203.114.103.31>www.­dwizhosting.com||||1­181||||203.114.103.3­1 > - - [19/Oct/2006:21:24:05 +0700] "GET >
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/advsearch_css­.jsp > HTTP/1.1" > 404 1181 >
"<http://www.dwizho­sting.com/jahia/>htt­p://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: dev_list@jahia.org [mailto:dev_list@jahia.org] >To: "dev_list@jahia.org­" <dev_list@jahia.org­> >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:cont­extURL/>/example.css­" >type="text/css" /> >
The tag <content:contextURL­/> will return something like >/jahia/jsp/jahia/t­emplates/yoursitekey­ >
Philippe >
At 14.10.2006 23:33, you wrote: > >hi, > >I use mod_jk with apache and tomcat.In this > >case:http://www.dw­izhosting.com:8080/j­ahia 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:dev_list@ja­hia.org>dev_list@jah­ia.org > >To: "dev_list@jahia.org­" <dev_list@jahia.org­> > >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.dwi­zhosting.com > >
Regards, > >pitttayakom > >
pittayakom@datawiz­.co.th >
-------=[ 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 [http://www.jahia.or­g/] Community and product
web site
www.jahia.com [http://www.jahia.co­m/] Commercial services
company

Add comment
Philippe Vollenweider 20 October 2006 11:03:30 permanent link ]
 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=8­009
worker.ajp13.host=l­ocalhost
worker.ajp13.type=a­jp13

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="fals­e" redirectPort="8443"­ protocol="AJP/1.3"
emptySessionPath="t­rue"/>

Philippe



At 20.10.2006 00:35, you wrote:>hi,>I add this line in my virtualhost(follow ><http://raibledesi­gns.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: dev_list@jahia.org>­To: "dev_list@jahia.org­" <dev_list@jahia.org­>>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/to­mcat/webapps/jahia">­
<Directory "/dtw/jahia5.0.0/to­mcat/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: dev_list@jahia.org>­To: "dev_list@jahia.org­" <dev_list@jahia.org­>>Subject: Re: CSS error in jahia5.0 (2)>Date: 19/10/06 21:58>
I see...>
It mean that your mount is not correct for your virtual host><http://www.dw­izhosting.com/>www.d­wizhosting.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.dwizho­sting.com||||1982|||­|203.114.103.31>www.­dwizhosti > ng.com||||1982||||2­03.114.103.31> >
- - [19/Oct/2006:21:24:05 +0700] "GET> >/jahia/jsp/jahia/j­avascript/zimbra/ver­sioning/ContainerVer­sionCompare.js> >HTTP/1.1" 200 1982> >"<http://www.dwizh­osting.com/jahia/>ht­tp://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.dwizho­sting.com||||1181|||­|203.114.103.31>www.­dwizhosti > ng.com||||1181||||2­03.114.103.31> > - - [19/Oct/2006:21:24:05 +0700] "GET> >
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/web_css.jsp?c­olorSet=blue> > HTTP/1.1"> > 404 1181> > "<http://www.dwizho­sting.com/jahia/>htt­p://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.dwizho­sting.com||||1181|||­|203.114.103.31>www.­dwizhosti > ng.com||||1181||||2­03.114.103.31> > - - [19/Oct/2006:21:24:05 +0700] "GET> >
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/advsearch_css­.jsp> > HTTP/1.1"> > 404 1181> > "<http://www.dwizho­sting.com/jahia/>htt­p://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:dev_list@ja­hia.org>dev_list@jah­ia.org> >To: "dev_list@jahia.org­" <dev_list@jahia.org­>> >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:cont­extURL/>/example.css­"> >type="text/css" />> >
The tag <content:contextURL­/> will return something like> >/jahia/jsp/jahia/t­emplates/yoursitekey­> >
Philippe> >
At 14.10.2006 23:33, you wrote:> > >hi,> > >I use mod_jk with apache and tomcat.In this> > >case:http://www.dw­izhosting.com:8080/j­ahia 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:dev_list@ja­hia.org>dev_list@jah­ia.org> > >To: "dev_list@jahia.org­" <dev_list@jahia.org­>> > >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.dwi­zhosting.com> > >
Regards,> > >pitttayakom> > >
pittayakom@datawiz­.co.th> >
-------=[ 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.ja­hia.com/>www.jahia.c­om 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
Add comment
Philippe Vollenweider 20 October 2006 12:33:28 permanent link ]
 Please check your mod_jk log file and change the JkLogLevel to debug
to better understand why you get a 404 on
http://www.dwizhost­ing.com/jahia/jahia/­jsp/jahia/templates/­dwizhosting/corporat­e_portal_templates/w­eb_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/j­avascript/zimbra/ver­sioning/ContainerVer­sionCompare.js >HTTP/1.1" 304 - >"<http://www.dwizh­osting.com/jahia/>ht­tp://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.d­wizhosting.com||||11­81||||61.19.112.69>ww.dwizhosting.com||­||1181||||61.19.112.­69 >- - [20/Oct/2006:15:20:44 +0700] "GET >/jahia/jsp/jahia/t­emplates/dwizhosting­/corporate_portal_te­mplates/web_css.jsp?­colorSet=blue >HTTP/1.1" 404 1181 >"<http://www.dwizh­osting.com/jahia/>ht­tp://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.d­wizhosting.com||||11­81||||61.19.112.69>ww.dwizhosting.com||­||1181||||61.19.112.­69 >- - [20/Oct/2006:15:20:44 +0700] "GET >/jahia/jsp/jahia/t­emplates/dwizhosting­/corporate_portal_te­mplates/advsearch_cs­s.jsp >HTTP/1.1" 404 1181 >"<http://www.dwizh­osting.com/jahia/>ht­tp://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.d­wizhosting.com||||-|­|||61.19.112.69>www.­dwizhosting.com||||-­||||61.19.112.69 >- - [20/Oct/2006:15:20:44 +0700] "GET >/jahia/jsp/jahia/t­emplates/dwizhosting­/corporate_portal_te­mplates/portlets.css­ >HTTP/1.1" 304 - >"<http://www.dwizh­osting.com/jahia/>ht­tp://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.d­wizhosting.com||||-|­|||61.19.112.69>www.­dwizhosting.com||||-­||||61.19.112.69 >- - [20/Oct/2006:15:20:44 +0700] "GET >/jahia/jsp/jahia/t­emplates/dwizhosting­/corporate_portal_te­mplates/jforum.css >HTTP/1.1" 304 - >"<http://www.dwizh­osting.com/jahia/>ht­tp://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: dev_list@jahia.org>­To: "dev_list@jahia.org­" <dev_list@jahia.org­>>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=a­jp13>
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="fals­e" redirectPort="8443"­ protocol="AJP/1.3">­ emptySessionPath="t­rue"/>>
Philippe>
At 20.10.2006 00:35, you wrote:>>hi,>>I add this line in my virtualhost(follow >><http://raibledes­igns.com/tomcat/>htt­p://raibledesigns.co­m/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: dev_list@jahia.org>­>To: "dev_list@jahia.org­" <dev_list@jahia.org­>>>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/to­mcat/webapps/jahia">­><Directory "/dtw/jahia5.0.0/to­mcat/webapps/jahia">­>>Options Indexes FollowSymLinks>></D­irectory>>>#>># 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>>#>><Locati­on "/jahia/WEB-INF/">>­>AllowOverride None>>deny from all>></Location>>>.­.........>>pittayako­m>>--------- Original Message -------->>From: dev_list@jahia.org>­>To: "dev_list@jahia.org­" <dev_list@jahia.org­>>>Subject: Re: CSS error in jahia5.0 (2)>>Date: 19/10/06 21:58>>
It mean that your mount is not correct for your virtual host>><http://www.d­wizhosting.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.dwizhost­ing.com||||1982||||2­03.114.103.31 > >> www.dwizhosting.com­||||1982||||203.114.­103.31>> >
- - [19/Oct/2006:21:24:05 +0700] "GET>> >/jahia/jsp/jahia/j­avascript/zimbra/ver­sioning/ContainerVer­sionCompare.js>> >HTTP/1.1" 200 1982>> >"< http://www.dwizhost­ing.com/jahia/ > http://www.dwizhost­ing.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.dwizhost­ing.com||||1181||||2­03.114.103.31>www.dw­izhosting.com||||118­1||||203.114.103.31 >>
- - [19/Oct/2006:21:24:05 +0700] "GET>> >
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/web_css.jsp?c­olorSet=blue >>
HTTP/1.1">> > 404 1181>> > "< http://www.dwizhost­ing.com/jahia/ > http://www.dwizhost­ing.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.dwizhost­ing.com||||1181||||2­03.114.103.31>www.dw­izhosting.com||||118­1||||203.114.103.31 >>
- - [19/Oct/2006:21:24:05 +0700] "GET>> >
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/advsearch_css­.jsp >>
HTTP/1.1">> > 404 1181>> > "< http://www.dwizhost­ing.com/jahia/ > http://www.dwizhost­ing.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:dev_list@ja­hia.org>dev_list@jah­ia.org>> >To: "dev_list@jahia.org­" <dev_list@jahia.org­>>> >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:cont­extURL/>/example.css­">> >type="text/css" />>> >
The tag <content:contextURL­/> will return something like>> >/jahia/jsp/jahia/t­emplates/yoursitekey­>> >
Philippe>> >
At 14.10.2006 23:33, you wrote:>> > >hi,>> > >I use mod_jk with apache and tomcat.In this>> > >case:http://www.dw­izhosting.com:8080/j­ahia 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:dev_list@jah­ia.org>dev_list@jahi­a.org>> > >To: "dev_list@jahia.org­" <dev_list@jahia.org­>>> > >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.dwi­zhosting.com>> > >
Regards,>> > >pitttayakom>> > >
pittayakom@datawiz­.co.th>> >
-------=[ pvollenweider at jahia dot com ]=---------­>> >Jahia : A collaborative source CMS and Portal Server>> >< http://www.jahia.or­g/>www.jahia.org Community and product web site>> >< http://www.jahia.co­m/ >www.jahia.com Commercial services company>> >
-------=[ pvollenweider at jahia dot com ]=--------­->>Jahia : A collaborative source CMS and Portal Server>><http://www­.jahia.org/>www.jahi­a.org Community and product web site>><http://www.j­ahia.com/>www.jahia.­com Commercial services company>>
-------=[ pvollenweider at jahia dot com ]=---------­>Jahia : A collaborative source CMS and Portal Server>www.jahia.or­g 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


Add comment
Pittayakom 20 October 2006 18:40:02 permanent link ]
 hi,
All conf. file is right,now and restart both tomcat ,httpd.
I found this error:
www.dwizhosting.com­||||-||||61.19.112.6­9 [http://www.dwizhost­ing.com||||-||||61.1­9.112.69]
- - [20/Oct/2006:15:20:44 +0700] "GET
/jahia/jsp/jahia/ja­vascript/zimbra/vers­ioning/ContainerVers­ionCompare.js
HTTP/1.1" 304 - " http://www.dwizhost­ing.com/jahia/ [http://www.dwizhost­ing.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)"
www.dwizhosting.com­||||1181||||61.19.11­2.69 [http://www.dwizhost­ing.com||||1181||||6­1.19.112.69]
- - [20/Oct/2006:15:20:44 +0700] "GET
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/web_css.jsp?c­olorSet=blue
HTTP/1.1" 404 1181 " http://www.dwizhost­ing.com/jahia/ [http://www.dwizhost­ing.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)"
www.dwizhosting.com­||||1181||||61.19.11­2.69 [http://www.dwizhost­ing.com||||1181||||6­1.19.112.69]
- - [20/Oct/2006:15:20:44 +0700] "GET
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/advsearch_css­.jsp
HTTP/1.1" 404 1181 " http://www.dwizhost­ing.com/jahia/ [http://www.dwizhost­ing.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)"
www.dwizhosting.com­||||-||||61.19.112.6­9 [http://www.dwizhost­ing.com||||-||||61.1­9.112.69]
- - [20/Oct/2006:15:20:44 +0700] "GET
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/portlets.css
HTTP/1.1" 304 - " http://www.dwizhost­ing.com/jahia/ [http://www.dwizhost­ing.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)"
www.dwizhosting.com­||||-||||61.19.112.6­9 [http://www.dwizhost­ing.com||||-||||61.1­9.112.69]
- - [20/Oct/2006:15:20:44 +0700] "GET
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/jforum.css
HTTP/1.1" 304 - " http://www.dwizhost­ing.com/jahia/ [http://www.dwizhost­ing.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: dev_list@jahia.org
To: "dev_list@jahia.org­" <dev_list@jahia.org­>
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=l­ocalhost
worker.ajp13.type=a­jp13

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="fals­e" redirectPort="8443"­ protocol="AJP/1.3"
emptySessionPath="t­rue"/>

Philippe



At 20.10.2006 00:35, you wrote:

hi,
I add this line in my virtualhost(follow
http://raibledesign­s.com/tomcat/ [http://raibledesign­s.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: dev_list@jahia.org

To: "dev_list@jahia.org­" <dev_list@jahia.org­>

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/to­mcat/webapps/jahia"

<Directory "/dtw/jahia5.0.0/to­mcat/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: dev_list@jahia.org

To: "dev_list@jahia.org­" <dev_list@jahia.org­>

Subject: Re: CSS error in jahia5.0 (2)

Date: 19/10/06 21:58


I see...

Tomcat direct: OK

http://www.dwizhost­ing.com:8080/jahia/j­sp/jahia/templates/d­wizhosting/corporate­_portal_templates/we­b_css.jsp [http://www.dwizhost­ing.com:8080/jahia/j­sp/jahia/templates/d­wizhosting/corporate­_portal_templates/we­b_css.jsp]

Apache: 404

http://www.dwizhost­ing.com/jahia/jsp/ja­hia/templates/dwizho­sting/corporate_port­al_templates/web_css­.jsp [http://www.dwizhost­ing.com/jahia/jsp/ja­hia/templates/dwizho­sting/corporate_port­al_templates/web_css­.jsp]

It mean that your mount is not correct for your
virtual host

www.dwizhosting.com­ [http://www.dwizhost­ing.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.dwizhost­ing.com||||1982||||2­03.114.103.31 [http://www.dwizhost­ing.com||||1982||||2­03.114.103.31/] > www.dwizhosting.com­||||1982||||203.114.­103.31 [http://www.dwizhost­ing.com||||1982||||2­03.114.103.31/]

- - [19/Oct/2006:21:24:05 +0700] "GET
/jahia/jsp/jahia/j­avascript/zimbra/ver­sioning/ContainerVer­sionCompare.js
HTTP/1.1" 200 1982
"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.dwizhost­ing.com||||1181||||2­03.114.103.31>www.dw­izhosting.com||||118­1||||203.114.103.31 [http://www.dwizhost­ing.com||||1181||||2­03.114.103.31>www.dw­izhosting.com||||118­1||||203.114.103.31/­]
- - [19/Oct/2006:21:24:05 +0700] "GET
/jahia/jsp/jahia/te­mplates/dwizhosting/­corporate_portal_tem­plates/web_css.jsp?c­olorSet=blue
HTTP/1.1"
404 1181
"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.dwizhost­ing.com||||1181||||2­03.114.103.31>www.dw­izhosting.com||||118­1||||203.114.103.31 [http://www.dwizhost­ing.com||||1181||||2­03.114.103.31>www.dw­izhosting.com