[opencms-dev] Apache and mod_proxy workplace not working

Jonathan Woods jonathan.woods at scintillance.com
Wed Mar 8 15:52:54 CET 2006


Try changing <exporturl> back to what it was, but with 8081 instead of 8080.
It looks as though you were using the wrong port number.
 
Jon

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Møller, Casper R.
(CRM)
Sent: 08 March 2006 13:38
To: opencms-dev at opencms.org
Subject: [opencms-dev] Apache and mod_proxy workplace not working



My Tomcat server.xml

<Server port="8005" shutdown="SHUTDOWN" debug="0"> 

    <Service name="Tomcat-Standalone">

    <!-- Define a connector for the "public visible" server name -->

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"

        port="8081" minProcessors="5" maxProcessors="75"

        proxyName="192.168.8.86" proxyPort="80"

        enableLookups="true" redirectPort="8443"

        acceptCount="100" debug="0" connectionTimeout="20000"

        useURIValidationHack="false" disableUploadTimeout="true" /> 

        <Engine name="Standalone" defaultHost="localhost" debug="0">

            <Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">

            <!-- You can change "unpackWARs" and "autoDeploy" to false after
the installation is finished --> 

            <Logger className="org.apache.catalina.logger.FileLogger"

            directory="logs" prefix="localhost_log." suffix=".txt"

            timestamp="true"/>

            </Host> 

        </Engine> 

    </Service> 

</Server>

My httpdf.conf (Virtual host)

 

NameVirtualHost *:80
<VirtualHost *:80>    
    <Directory "C:/Tomcat_55/webapps/ROOT/">
     Order allow,deny
         Allow from all
    </Directory>     

    ServerName 192.168.8.86    
    ServerAdmin  <mailto:webmaster at alkacon.com> webmaster at alkacon.com    
    DocumentRoot "C:/Tomcat_55/webapps/ROOT/"    
    ErrorLog logs/error.log        

    # Log only non-redirect requests in "normal" log file    
    SetEnvIf Request_URI "\/opencms\/*" redirect    
    CustomLog logs/localhost-access.log common env=!redirect    

    ProxyPass         /opencms/                 !    
    RedirectPermanent /opencms/                  <http://192.168.8.86/>
http://192.168.8.86/    

    ProxyPass         /resources/               !    
    ProxyPass         /export/                  !        

    ProxyPass         /
<http://localhost:8081/opencms/> http://localhost:8081/opencms/    
    ProxyPassReverse  /
<http://localhost:8081/opencms/> http://localhost:8081/opencms/

</VirtualHost>

 

And my export/import opencms config file (After removed ${CONTEXT_NAME} It
stil dosen't work)

  <rendersettings>

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

      <vfs-prefix></vfs-prefix>

      <userelativelinks>false</userelativelinks>   

      <exporturl> <http://127.0.0.1:8080/handle404</exporturl>
http://127.0.0.1:8080/handle404</exporturl>

      ...

  </rendersettings>

This email message (including any attachments) is for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any review, use, disclosure or distribution of this email (or
any attachment thereto) by others is prohibited. If you are not the intended
recipient, please contact the sender immediately by reply email and destroy
all copies of the original message and any attachments thereto.

 

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


More information about the opencms-dev mailing list