Hello: <br>yes,I have it ,it is defined in httpd.conf:<br>


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Kate, the KDE Advanced Text Editor">

<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" <gaithb@cse.unsw.edu.au><br>发送时间:2006-10-27 14:58:15<br>收件人:"The OpenCms mailing list" <opencms-dev@opencms.org><br>抄送:(无)<br>主题:Re: [opencms-dev] problem of "Tomcat and the Apache webser ver with mod_prox"<br><br><br></opencms-dev@opencms.org></gaithb@cse.unsw.edu.au><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" <gaithb@cse.unsw.edu.au><br>发送时间:2006-10-27 14:58:15<br>收件人:"The OpenCms mailing list" <opencms-dev@opencms.org><br>抄送:(无)<br>主题:Re: [opencms-dev] problem of "Tomcat and the Apache webser ver with mod_prox"<br><br><br>From: "Gaith Bader" <gaithb@cse.unsw.edu.au><br>To: "The OpenCms mailing list" <opencms-dev@opencms.org><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, </opencms-dev@opencms.org></gaithb@cse.unsw.edu.au><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><!-- footer --><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>