[opencms-dev] OpeCMS 6Apache jk/rewrite Access tothe Workplace -

Fievet Marc Marc.Fievet at winterthur.be
Wed Oct 19 10:00:44 CEST 2005


Hello Sebastian,

I upgrade Tomcat with 5.5.9. Now the connection to the worplace works but
the view is empty: not data are showing just this error message: 

The requested URL /opencms/resources/commons/empty.html was not found on
this server.
Apache/2.0.50 (Win32) mod_jk/1.2.6 Server at 127.0.0.1 Port 80

My httpd.conf like this:
<VirtualHost *:80>
ServerAdmin admin at domain.com
DocumentRoot D:/Tomcat5/webapps/opencms/
ServerName dev.domain.com
ErrorLog logs/dev-error_log
CustomLog logs/dev-access_log common

# If the requested URI is located in the resources folder, do not forward
the request
SetEnvIfNoCase Request_URI ^/opencms/resources/.*$ no-jk

# If the requested URI is static content do not forward the request
SetEnvIfNoCase Request_URI ^/export/.*$ no-jk

RewriteEngine on
# If the requested URI is NOT located in the resources folder.
# Prepend an /${WEBAPP_NAME}/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]

# If the request starts with /opencms/resources, delete the /${WEBAPP_NAME}
prefix
RewriteCond %{REQUEST_URI} ^/opencms/resources/.*$
RewriteRule ^/opencms/(.*)$ /$1
#DocumentRoot "${WEBAPP_HOME}/${WEBAPP_NAME}/"
JkMount /* ocms

</VirtualHost>

Thank you
Regards,


MARC

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Sebastian Himberger
Sent: vendredi 14 octobre 2005 9:41
To: The OpenCms mailing list
Subject: [SPAM] - Re: [SPAM] - Re: [opencms-dev] OpeCMS 6Apache jk/rewrite
Access tothe Workplace - Sending mail server found on list.dsbl.org -
Sending mail server found on relays.ordb.org


Hi Marc,

unfortunatly the emptySessionPath-Attribute was first introduced in version
5.5. You have too install OpenCms as ROOT webapp in earlier versions.
Although this is perhaps not what you want.

best regards
Sebastian


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

______________________________________________


Winterthur-Europe Insurance - VAT BE 0403.290.168 RPM/RPR BRUSSELS.
This message may contain confidential, proprietary or legally privileged information and is intended only for the use of the addressee named above. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance on it. If you have received this message in error please delete it and any copies of it and notify Winterthur immediately.This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open any attachments at your own risk. 
The integrity and security of this message cannot be guaranteed on the Internet.





More information about the opencms-dev mailing list