[opencms-dev] Integrating with Apache doesn't get past login

Oliver Pereira Oliver.Pereira at dna.co.uk
Tue Dec 6 16:59:09 CET 2005


Well here is my setting 

 

<VirtualHost 10.10.10.208:80>

    ServerName opencmslogin.xyz.com

 

    DocumentRoot "C:/Tomcat50/webapps/"

    ErrorLog logs/error.log

 

    SetEnvIf Request_URI "\/myapp\/*" redirect

    CustomLog logs/localhost-access.log common env=!redirect

 

            ProxyPass                    /opencms/export/
http://localhost:8081/opencms/export/

            ProxyPass                    /opencms/resources/
http://localhost:8081/opencms/resources/

            ProxyPass                    /opencms/opencms/
http://localhost:8081/opencms/opencms/

            ProxyPass                    /
http://localhost:8081/opencms/opencms/

 

 </VirtualHost>

 

 <VirtualHost 10.10.10.208:80>

     ServerName opencms6.xyz.com

 

     DocumentRoot "C:/Tomcat50/webapps/"

     ErrorLog logs/error.log

 

     SetEnvIf Request_URI "\/opencms\/*" redirect

     CustomLog logs/localhost-access.log common env=!redirect

 

            ProxyPass                    /opencms/opencms/
!

            RedirectPermanent        /opencms/opencms/
http://opencms6.xyz.com/

            ProxyPass                    /opencms/export/
http://localhost:8082/opencms/export/

            ProxyPass                    /opencms/resources/
http://localhost:8082/opencms/resources/

            ProxyPass                    /opencms/opencms/
http://localhost:8082/opencms/opencms/

            ProxyPass                    /
http://localhost:8082/opencms/opencms/

 

</VirtualHost>

 

________________________________

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Tosi, Joel
Sent: 06 December 2005 15:40
To: The OpenCms mailing list
Subject: RE: [opencms-dev] Integrating with Apache doesn't get past
login

 

No luck, I get this error in the browser now when I submit the login
credentials:

Navigation: Welcome to OpenCms <http://dvopenexchange/opencms/index.jsp>
| Templateone Demo Pages <http://dvopenexchange/opencms/demopages/>  | 
Modules Demo pages <http://dvopenexchange/opencms/modulesdemo/>  | XML
content Demo <http://dvopenexchange/opencms/xmlcontentdemo/>  | Release
Notes <http://dvopenexchange/opencms/release/>  | Alkacon Documentation
<http://dvopenexchange/opencms/alkacon-documentation/>  





A system error reading a resource occured!


Server error 404


Not Found


The requested resource "/opencms/opencms/system/login/index.html" was
not found on the server.

Probably you used an outdated link or an old bookmark.

If you followed a link on our site, please try it again in a few
minutes. 

 (c) 2005 Alkacon Software GmbH
The OpenCms experts
http://www.alkacon.com

 

 

________________________________

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Oliver Pereira
Sent: Tuesday, December 06, 2005 9:34 AM
To: The OpenCms mailing list
Subject: RE: [opencms-dev] Integrating with Apache doesn't get past
login

 

Comment this line out for the login screen ==>       ProxyPass /opencms/
!

 

Create one more virtual host for the published site with the same
details but uncomment the above line

 

 

________________________________

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Tosi, Joel
Sent: 06 December 2005 15:25
To: The OpenCms mailing list
Subject: [opencms-dev] Integrating with Apache doesn't get past login

 

So I gave up trying to opencms to work with weblogic and apache, just
going with the standard tomcat / apache configuration.  The error I am
encountering now is that once I login, the app just comes back to the
login screen.  There aren't any errors any where.

 

Here is the pertinent httpd.conf:

 

<VirtualHost *:80>

        ServerName dvopenexchange

        ServerAdmin isgadm at cme.com

        DocumentRoot
"/cme/isg/tomcat/apache-tomcat-5.5.12/webapps/ROOT/"

        <Directory "/cme/isg/tomcat/apache-tomcat-5.5.12/webapps/ROOT/">

                Order allow,deny

                Allow from all

        </Directory>

        ErrorLog /cme/isg/log/apache/opencms_apache_error.log

        SetEnvIf Request_URI "\/opencms\/*" redirect

        #CustomLog /cme/isg/log/apache/opencms_apache.log common
env!=redirect

        #Rewrite Engine on

        #RewriteCond % ^/export/ {REQUEST_URI} (.*) [NC]

        #RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f

        #RewriteCond
"%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html" !-f

        #RewriteRule .*
http://127.0.0.1:9990/applications/handle404?exporturi=%{REQUEST_URI}&%{
QUERY_STRING} [P]

        ProxyPass /opencms/ !

        RedirectPermanent /opencms/ http://dvopenexchange/

        ProxyPass /resources/ !

        ProxyPass /export/ !

        ProxyPass / http://localhost:8081/opencms/

        ProxyPassReverse / http://localhost:8081/opencms/

</VirtualHost>

 

 

Any ideas?

 

Thanks,

Joel


_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com


_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051206/99b0c95c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 73 bytes
Desc: image001.gif
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051206/99b0c95c/attachment.gif>


More information about the opencms-dev mailing list