[opencms-dev] Workplace login-problem, wants to popup on port :8081 and not :80

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Mon Mar 3 11:12:30 CET 2008


On Sun, Mar 02, 2008 at 10:47:46PM +0100, Yves Glodt wrote:
> Hello list,
> 
> 
> Also, could it be that there is a typo in the static-export howto...?:
> 
> It's written:
> RewriteRule       .* 	
> http://127.0.0.1:8081/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} 
> [P] 
> 
> But I guess it should be:
> RewriteRule       .* 	
> http://127.0.0.1:8081/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} 
> [P] 

This is indeed, if not a typo, so at least different from what is
working with me here. What you are guessing, should be correct (with the
opencms).

Could you post your VirtualHost section? And what entries do you have in
server.xml of tomcat regarding the 8081?

What is in opencms-importexport.xml? This should be there:

             <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix>
             <vfs-prefix>${CONTEXT_NAME}</vfs-prefix>


 NameVirtualHost *:80

 <VirtualHost *:80>
         ServerName cms.mysite.de
         DocumentRoot "G:/Programme/Apache_Group/Tomcat 5.5/webapps/ROOT/"
         <Directory />
                 Options FollowSymLinks
                 AllowOverride None
         </Directory>


         # Possible values include: debug, info, notice, warn, error,
         # crit,
         # alert, emerg.
         LogLevel warn

         ServerSignature Off


     SetEnvIf Request_URI "\/opencms\/*" redirect

     # Redirect all request to non-existing file in the export directory
     # to OpenCms which will generate the files "on the fly"
     RewriteEngine     on

     # Redirection for static export
     RewriteCond %{REQUEST_URI}  ^/export/(.*)  [NC]
     RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f
     RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html" !-f
     RewriteRule .* http://127.0.0.1:8081/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} [P]

     # Redirect all 404 errors to OpenCms
     # ErrorDocument     404               /system/shared/handle404.html

     # Basic proxy rules
     ProxyPreserveHost                     On
     RedirectPermanent /opencms/           http://cms.mysite.de/
     ProxyPass         /opencms/           !

     ProxyPass         /resources/         !
     ProxyPass         /export/            !
     ProxyPass         /skins/             !
     ProxyPass         /syscp/                     !

     ProxyPass         / http://127.0.0.1:8081/opencms/
     ProxyPassReverse  / http://127.0.0.1:8081/opencms/
 </VirtualHost>


#=======



--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list