<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Okay, based on the error you wrote, it says :<DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#E61F65"><B>Invalid command 'ProxyPass', perhaps mis-spelled or defined by a module not included in the server configuration</B></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Now, for this to happen, it kind of suggest that mod_proxy is not loaded by apache, have you added it on installation or afterwards? are you sure that you actually have the actual mod_proxy.so file in your modules directory?</DIV><DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you have mod_proxy loaded in apache it should recognises ProxyPass as it is a directive under it.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Double check our configuration files and your module directory in apache.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers,</DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>____</DIV><DIV>Gaith Bader</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Computer Systems Officer</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">School of Computer Science and Engineering</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The University of New South Wales</DIV><DIV>ph. 93854781</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR><DIV><DIV>On 27/10/2006, at 5:14 PM, lxbing113 wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hello: <BR>yes,I have it ,it is defined in httpd.conf:<BR> <PRE>#
# Mappers
#
# These Modules provide URL mappings or translations.
LoadModule alias_module                  modules/mod_alias.so
LoadModule rewrite_module                modules/mod_rewrite.so
<IFDEFINE userdir="">
    LoadModule userdir_module            modules/mod_userdir.so
</IFDEFINE><BR><BR>but how does it provide URL mappings or translations to tomcat ? I'amnot very clearly,can you explain me? </PRE>Any adviser appriciate !<BR> Cheers<DIV> </DIV><DIV> </DIV><DIV> </DIV><DIV id="spnSign"></DIV><DIV> </DIV><DIV> </DIV><DIV> </DIV><BLOCKQUOTE style="border-left: 2px solid rgb(160, 198, 229); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><HR color="#a0c6e5" size="1"><BR>-----原始邮件-----<BR>发件人:"Gaith Bader" <BR>发送时间:2006-10-27 14:58:15<BR>收件人:"The OpenCms mailing list" <BR>抄送:(无)<BR>主题:Re: [opencms-dev] problem of "Tomcat and the Apache webser ver with mod_prox"<BR><BR><BR><DIV> </DIV><DIV> </DIV><DIV> </DIV><DIV> </DIV><DIV id="spnSign"></DIV><DIV> </DIV><DIV> </DIV><DIV> </DIV><BLOCKQUOTE style="border-left: 2px solid rgb(160, 198, 229); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><HR color="#a0c6e5" size="1"><BR>-----原始邮件-----<BR>发件人:"Gaith Bader" <BR>发送时间:2006-10-27 14:58:15<BR>收件人:"The OpenCms mailing list" <BR>抄送:(无)<BR>主题:Re: [opencms-dev] problem of "Tomcat and the Apache webser ver with mod_prox"<BR><BR><BR>From: "Gaith Bader" <<A href="mailto:gaithb@cse.unsw.edu.au">gaithb@cse.unsw.edu.au</A>><BR>To: "The OpenCms mailing list" <<A href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A>><BR>Date: Fri, 27 Oct 2006 14:58:15 +0800 (CST)<BR>Subject: Re: [opencms-dev] problem of "Tomcat and the Apache webser ver with mod_prox"<BR><BR>Hey mate, <DIV><BR class="khtml-block-placeholder"></DIV><DIV>Make sure that you have not just mod_proxy but also mod_rewrite </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers,</DIV><DIV>____<DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><DIV>Gaith Bader</DIV><DIV style="margin: 0px;">Computer Systems Officer</DIV><DIV style="margin: 0px;">School of Computer Science and Engineering</DIV><DIV style="margin: 0px;">The University of New South Wales</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR><DIV><DIV>On 27/10/2006, at 3:44 PM, lxbing113 wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hello list:<BR>牋  I config opencms multi-websit following document "Integrating OpenCms, Tomcat and the Apache webserver with mod_proxy", inopencms 6.2 documents. After I config httpd of apache, and restart apache ,I get the error :<BR><BR><B><FONT color="#ff0066">* Apache2 has detected a syntax error in your configuration files:<BR>Syntax error on line 113 of /etc/apache2/vhosts.d/alex.conf:<BR>Invalid command 'ProxyPass', perhaps mis-spelled or defined by a module not included in the server configuration</FONT></B><BR><DIV> </DIV><DIV>營 don't know why! I config it following the document.and my config for apache is bellow:<BR><BR> <PRE><VIRTUALHOST *:80="">        ServerName <A href="http://www.lxbing.com">www.lxbing.com</A>

        ServerAdmin webmaster@opencms

        DocumentRoot "/var/lib/tomcat-5.5/webapps/ROOT/"



        <DIRECTORY>

                Order allow,deny

                Allow from all

        </DIRECTORY> 



        # Log only non-redirect requests in "normal" log file

        SetEnvIf Request_URI "/opencms/*" redirect



        RewriteEngine     on

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

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

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

        RewriteRule       .*  <A href="http://127.0.0.1:8081/cms/handle404?exporturi=%%7BREQUEST_URI%7D&%%7BQUERY_STRING%7D">http://127.0.0.1:8081/cms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING}</A> [P]





        ProxyPass         /opencms/             !

        RedirectPermanent /opencms/                <A href="http://www.lxbing.com">http://www.lxbing.com</A>/

        ProxyPass         /resources/           !

        ProxyPass         /export/              !

        ProxyPass         /                     <A href="http://127.0.0.1:8081/opencms/">http://127.0.0.1:8081/opencms/</A>

        ProxyPassReverse  /                     <A href="http://127.0.0.1:8081/opencms/">http://127.0.0.1:8081/opencms/</A>

</VIRTUALHOST>





# <A href="http://www.squall.com">http://www.squall.com</A>





<VIRTUALHOST *:80="">

        ServerName <A href="http://www.squall.com">www.squall.com</A>

        ServerAdmin webmaster@new

        DocumentRoot "/var/lib/tomcat-5.5/webapps/ROOT/"



        <DIRECTORY>

                Order allow,deny

                Allow from all

        </DIRECTORY>



        # Log only non-redirect requests in "normal" log file

        SetEnvIf Request_URI "/opencms/*" redirect



         RewriteEngine     on

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

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

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

        RewriteRule       .*  <A href="http://127.0.0.1:8082/cms/handle404?exporturi=%%7BREQUEST_URI%7D&%%7BQUERY_STRING%7D">http://127.0.0.1:8082/cms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING}</A> [P]



        ProxyPass         /opencms/                 !

        RedirectPermanent /opencms/                 <A href="http://www.squall.com">http://www.squall.com</A>/

        ProxyPass         /resources/           !   

        ProxyPass         /export/              !   

        ProxyPass         /                     <A href="http://127.0.0.1:8082/opencms/">http://127.0.0.1:8082/opencms/</A>

        ProxyPassReverse  /                     <A href="http://127.0.0.1:8082/opencms/">http://127.0.0.1:8082/opencms/</A>

</VIRTUALHOST></PRE>please give me some idear how to do it !what problem I make in the configuration.<BR>Any adviser appreciate !<BR></DIV><DIV> </DIV><DIV> </DIV><DIV id="spnSign"></DIV><BR><BR><BR><BR><BR><BR><DIV style="border-bottom: 1px solid rgb(153, 153, 153);"></DIV><BR>   <FONT style="font-size: 14.8px;" color="black">3G 时 代 来 临 了,坚 决 对 传 统 邮 箱 说 不 !</FONT>  <BR>       <A href="http://www.126.com/" target="_blank" style="font-size: 13px; line-height: 160%; color: blue;">新 一 代 极 速 3G 邮 箱 闪 亮 登 场 ,280 兆 网 盘 免 费 送 ! 点 击 此 处 注 册 </A><DIV style="margin: 0px; min-height: 14px;"><BR></DIV><DIV style="margin: 0px;">_______________________________________________</DIV><DIV style="margin: 0px;">This mail is sent to you from the opencms-dev mailing list</DIV><DIV style="margin: 0px;">To change your list options, or to unsubscribe from the list, please visit</DIV><DIV style="margin: 0px;"><A href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BLOCKQUOTE><BR><BR><BR><BR><BR><BR><DIV style="border-bottom:1px solid #999"></DIV><BR>    <FONT color="black" style="font-size:14.8px">3G 时 代 来 临 了,坚 决 对 传 统 邮 箱 说 不 !</FONT>    <BR>       <A href="http://www.126.com/" target="_blank" style="font-size:13px;line-height:160%;color:blue">新 一 代 极 速 3G 邮 箱 闪 亮 登 场 ,280 兆 网 盘 免 费 送 ! 点 击 此 处 注 册 </A><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This mail is sent to you from the opencms-dev mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">To change your list options, or to unsubscribe from the list, please visit</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>