<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=322204711-08032006><FONT face=Arial
color=#0000ff size=2>Caspar -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=322204711-08032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=322204711-08032006><FONT face=Arial
color=#0000ff size=2>If you are rewriting URLs to remove both the context prefix
(the first /opencms) and the servlet pattern (/opencms), then the
<exporturl> tag body should read <A
href="http://127.0.0.1:8080/handle404">http://127.0.0.1:8080/handle404</A>,
assuming your OpenCms server is running on port 8080.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=322204711-08032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=322204711-08032006><FONT face=Arial
color=#0000ff size=2>If this doesn't fix things, could you post your mod_rewrite
directives? Might help debug things.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=322204711-08032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=322204711-08032006><FONT face=Arial
color=#0000ff size=2>Jon</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=322204711-08032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <B>On
Behalf Of </B>Møller, Casper R. (CRM)<BR><B>Sent:</B> 08 March 2006
11:01<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev]
Apache and mod_proxy workplace not working<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><SPAN><SPAN
class=823174910-08032006><FONT face="Courier New" size=2>Hi
all,</FONT></SPAN></SPAN></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><SPAN><SPAN
class=823174910-08032006><FONT face="Courier New"
size=2></FONT></SPAN></SPAN></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><SPAN><SPAN
class=823174910-08032006><FONT face="Courier New" size=2>I have followed the
official guide on how to Integrating OpenCms, Tomcat and the Apache webserver
with mod_proxy. </FONT></SPAN></SPAN></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><SPAN><SPAN
class=823174910-08032006><FONT face="Courier New"
size=2></FONT></SPAN></SPAN></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><SPAN><SPAN
class=823174910-08032006><FONT face="Courier New" size=2>First I'am not sure how
the staticexport/rendersettings node should look like due to some strange
formulation in the documentation on what to remove from the configuration
so right now it looks like this:</FONT></SPAN></SPAN></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><SPAN><SPAN
class=823174910-08032006><FONT size=2></FONT></SPAN></SPAN></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><SPAN><SPAN
class=823174910-08032006><FONT size=2>
<rendersettings><BR>
<rfs-prefix>/export</rfs-prefix><BR>
<vfs-prefix></vfs-prefix><BR>
<userelativelinks>false</userelativelinks>
<BR>
<exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl><BR>
...<BR> </rendersettings></FONT></P><PRE class=code><FONT size=2>This work fine until I try to logon the workplace, which is a totally mess seems like some css </FONT></PRE><PRE class=code><FONT size=2>is not located. If I look in the log I find lines like this:</FONT></PRE><PRE class=code><FONT size=2>192.168.8.140 - - [08/Mar/2006:10:22:10 +0100] "GET /export/system/workplace/commons/style/new_admin.css HTTP/1.1" 404 326</FONT></PRE><PRE class=code><FONT size=2>I'm no apache expert so i'm not sure what the problem is.</FONT></PRE><PRE class=code><FONT size=2>Thanks for any answer</FONT></PRE><PRE class=code><PRE><FONT size=2>//Casper</FONT></PRE></PRE></SPAN></SPAN></SPAN></DIV>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">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.</SPAN></P>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'"></SPAN> </P></BODY></HTML>