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!

  • urlRewriteRemoveCmsPrefix = true and css directory
    2013/03/02 03:50

    mxlab <p> Hi all,</p> <p> I have a css in&nbsp;<span style="color: rgb(51, 51, 51); font-size: 13px;">tomcat/webapps/ROOT/resources/my.css and setting&nbsp;</span><span style="color: rgb(51, 51, 51); font-size: 13px;">urlRewriteRemoveCmsPrefix = false it shows correctly when I browse the pages but if I set&nbsp;</span><span style="color: rgb(51, 51, 51); font-size: 13px;">urlRewriteRemoveCmsPrefix = true it doesn&#39;t show and I notice that Jahia is trying to get it from jcr using the path /cms/render/live/resources/my.css</span></p> <p> How can I solve this problem?</p> <p> How can I avoid jahia from using rewrite rules for that directory?</p> <p> Thanks a lot!</p>

  • Number of messages  33
    Registration date Mar 2, 2013
    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