Jahia in English > urlRewriteRemoveCmsPrefix...

0 (0 Good)
0 (0 Bad)

urlRewriteRemoveCmsPrefix = true and css directory

by  mxlab »  2013/03/02 03:50

Hi all,

I have a css in tomcat/webapps/ROOT/resources/my.css and setting urlRewriteRemoveCmsPrefix = false it shows correctly when I browse the pages but if I set urlRewriteRemoveCmsPrefix = true it doesn't show and I notice that Jahia is trying to get it from jcr using the path /cms/render/live/resources/my.css

How can I solve this problem?

How can I avoid jahia from using rewrite rules for that directory?

Thanks a lot!

  (mxlab)

Number of messages  33
Registration date
0 (0 Good)
0 (0 Bad)

Re: urlRewriteRemoveCmsPrefix = true and css directory

by  dgriffon »  2013/03/06 10:33

hello,

What is the version of Jahia do you use ?

On 6.6 and later any css in /resources directory should be available, what is the url used to call your css ?

you have to know also that the /resources directory is used by jahia to put all minified and aggregated resources (css and javascript) for live content. 

best regards

David 

David Griffon (dgriffon)

Number of messages  76
Registration date
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page