[opencms-dev] Apache jk/rewrite Admin App

Kelley, Kevin kkelley at onetooneinteractive.com
Thu Sep 29 17:40:54 CEST 2005


Hi Matthias, 

Thank you for responding. 

 

Ahh... I missed the part about requiring Tomcat 5.5.x.  I was using 5.0.28.  All is working now,

 

Thanks for the help,

Kevin

 

-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Matthias Neher
Sent: Thursday, September 29, 2005 2:14 AM
To: The OpenCms mailing list
Subject: AW: [opencms-dev] Apache jk/rewrite Admin App

 

Hi Kevin, hi all,

 

I had the same problem yesterday. I think this is a problem with the cookie. The cookie is set, but your server can't find it any more. (path problem) Have a look at http://www.opencms-forum.de/viewtopic.php?t=713 

I'm shure you will find help there.

 

Greetings

 

Matthias

 

 

--


Matthias Neher

 


 

Fon: +49-7541-6047-143


DoubleSlash Net-Business GmbH

Fax: +49-7541-6047-111


Müllerstr. 12 B

Matthias.Neher at doubleSlash.de


D-88045 Friedrichshafen

http://www.doubleSlash.de <http://www.doubleslash.de/> 

 

 

 

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Kelley, Kevin
Gesendet: Mittwoch, 28. September 2005 18:08
An: The OpenCms mailing list
Betreff: [opencms-dev] Apache jk/rewrite Admin App

Greetings All,

 

This is regarding OpenCms 6.0.0, Apache2 and Tomcat 5.0.28

 

I integrated apache and tomcat with mod_jk and mod_rewrite.  My site works perfectly.  The only problem is, I can't get into the file explorer/admin app.  When I log in, it pops open the new window and shows me the login screen again.  If I try again, I get the same results.  Is this a problem with the OpenCms config files or the Apache config files.  I've attached the relevant excerpts from my config files I changed.

 

Thanks,

Kevin

 

Excerpt from opencms-importexport.xml:

 

<rendersettings>

      <rfs-prefix>/export</rfs-prefix>

      <vfs-prefix></vfs-prefix>

      <userelativelinks>false</userelativelinks>

      <exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl>

      <plainoptimization>true</plainoptimization>

      <testresource uri="/system/shared/page.dtd"/>

      <resourcestorender>

            <regex>/sites/.*</regex>

            <regex>/system/galleries/.*</regex>

            <regex>/system/modules/.*/resources/.*</regex>

      </resourcestorender>

</rendersettings>

 

Excerpt from http.conf:

 

<VirtualHost *:80>

ServerAdmin admin at domain.com

DocumentRoot C:/Tomcat5.0/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

SetEnvIfNoCase Request_URI ^/webalizer/.*$ no-jk

 

# If the requested URI is static content do not forward the request

SetEnvIfNoCase Request_URI ^/export/.*$ no-jk

 

RewriteEngine on

 

RewriteRule ^/system/login$ /opencms/opencms/system/login [R]

 

# 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/.*$

RewriteCond %{REQUEST_URI} !^/webalizer/.*$

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 "%{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 /${WEBAPP_NAME}/resources, delete the /${WEBAPP_NAME} prefix

RewriteCond %{REQUEST_URI} ^/opencms/resources/.*$

RewriteRule ^/opencms/(.*)$ /$1 

 

#DocumentRoot "${WEBAPP_HOME}/${WEBAPP_NAME}/" 

            

            JkMount /* worker1

 

</VirtualHost>

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050929/c2edce05/attachment.htm>


More information about the opencms-dev mailing list