<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=078365005-27102006><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=078365005-27102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=078365005-27102006><FONT face=Arial
color=#0000ff size=2>is it complete apache configuration? Look at line 113 at
your alex.conf file :). So I think that the mod_proxy you are trying to use is
not loaded.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=078365005-27102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=078365005-27102006><FONT face=Arial
color=#0000ff size=2>Petr</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of
</B>lxbing113<BR><B>Sent:</B> Friday, October 27, 2006 7:45 AM<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] problem of "Tomcat and
the Apache webser ver with mod_prox"<BR><B>Importance:</B>
High<BR></FONT><BR></DIV>
<DIV></DIV>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> I don't know why! I config it following the document.and my config
for apache is bellow:<BR><BR>
<META content="Kate, the KDE Advanced Text Editor" name=Generator><PRE><VirtualHost *:80>
ServerName www.lxbing.com
ServerAdmin webmaster@opencms
DocumentRoot "/var/lib/tomcat-5.5/webapps/ROOT/"
<Directory "/var/lib/tomcat-5.5/webapps/ROOT/">
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 .* http://127.0.0.1:8081/cms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} [P]
ProxyPass /opencms/ !
RedirectPermanent /opencms/ http://www.lxbing.com/
ProxyPass /resources/ !
ProxyPass /export/ !
ProxyPass / http://127.0.0.1:8081/opencms/
ProxyPassReverse / http://127.0.0.1:8081/opencms/
</VirtualHost>
# http://www.squall.com
<VirtualHost *:80>
ServerName www.squall.com
ServerAdmin webmaster@new
DocumentRoot "/var/lib/tomcat-5.5/webapps/ROOT/"
<Directory "/var/lib/tomcat-5.5/webapps/ROOT/">
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 .* http://127.0.0.1:8082/cms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} [P]
ProxyPass /opencms/ !
RedirectPermanent /opencms/ http://www.squall.com/
ProxyPass /resources/ !
ProxyPass /export/ !
ProxyPass / http://127.0.0.1:8082/opencms/
ProxyPassReverse / http://127.0.0.1:8082/opencms/
</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><!-- footer --><BR><BR><BR><BR><BR>
<DIV style="BORDER-BOTTOM: #999 1px solid"></DIV><BR><FONT
style="FONT-SIZE: 14px" color=black>3G 时 代 来 临 了,坚 决 对 传 统 邮 箱 说 不 !</FONT>
<BR><A style="FONT-SIZE: 13px; COLOR: blue; LINE-HEIGHT: 160%"
href="http://www.126.com/" target=_blank>新 一 代 极 速 3G 邮 箱 闪 亮 登 场 ,280 兆 网 盘 免 费
送 ! 点 击 此 处 注 册 </A></BODY></HTML>