[opencms-dev] Export >>>/export/system/workplace/commons/style/workplace.css

Jonathan Woods jonathan.woods at scintillance.com
Thu Mar 30 22:18:11 CEST 2006


I couldn't get the 'no-jk' variable approach to work, so instead I used the
more standard
 
    JkUnmount /export/
 
which means "don't use mod_jk for requests beginning /export/".  Maybe you
could try that.
 
Jon

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Wils
Sent: 30 March 2006 20:35
To: opencms-dev at opencms.org
Subject: [opencms-dev] Export
>>>/export/system/workplace/commons/style/workplace.css
Importance: High


Please,
 
i dont know...i will try more steps...but i cant publish the:
/export/system/workplace/commons/style/workplace.css
 
I am using Sebastian How To, mod_jk, etc...

My virtual host is:

        # If the requested URI is static content do not forward the request
        SetEnvIfNoCase Request_URI ^/export/.*$ no-jk
 
        RewriteEngine on
        RewriteLog logs/rewrite.log
 
        # If the requested URI is NOT located in the resources folder.
        # Prepend an /opencms/opencms to everything that does not already
starts with it
        # and force the result to be handled by the next URI-handler ([PT])
(JkMount in this case)
 
        RewriteCond %{REQUEST_URI} !^/opencms/resources/.*$
        RewriteCond %{REQUEST_URI} !^/export/.*
        RewriteRule !^/opencms/opencms/(.*)$ /opencms/opencms%{REQUEST_URI}
[PT]
 
        # These are the settings for static export. If the requested
resource is not already
        # statically exported create a new request to the opencms404
handler. This has to be
        # a new request, because the current would net get through mod_jk
because of the "no-jk" var.
 
        RewriteCond %{REQUEST_URI} ^/export/.*$
        RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f
        RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html"
!-f
#        RewriteRule .*
/opencms/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} [P]
        RewriteRule .*
/opencms/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} [R]
 
         # If the request starts with /opencms/resources, delete the
/opencms prefix
        RewriteCond %{REQUEST_URI} ^/opencms/resources/.*$
        RewriteRule ^/opencms/(.*)$ /$1
 
 
        DocumentRoot "/home/www/tomcat-5/webapps/opencms/"
        JkMount /* ocms

 
Someone help me?
Tks
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060330/540a0a8a/attachment.htm>


More information about the opencms-dev mailing list