<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=427361214-28082009><FONT face=Arial size=2>Hi
all</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial size=2>I've bumped into
this one a couple of times before, but now I can't remember how to fix it
(summer vacations just strips those things away clean :). Couldn't find anything
useful when googling either...</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial size=2>When an image is
added directly into the textarea in an xmlcontent file, the image URI is altered
whenever I save the file.</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial size=2>For each save,
OpenCms consequently adds 3 times "/sites/default" to the beginning of the
URI. The original URI "/images/Sunset.jpg" becomes
"/sites/default/sites/default/sites/default/images/Sunset.jpg" after 1 save,
"/sites/default/sites/default/sites/default/sites/default/sites/default/sites/default/images/Sunset.jpg"
after 2 saves, and so on...</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial size=2>If anyone can
remember how to resolve this issue, please let me know.</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial><FONT
size=2>Setup info:</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial><FONT size=2>* OpenCms
7.0.4</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial><FONT size=2>*
Apache</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial><FONT size=2>*
Tomcat</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial><FONT size=2>* using
mod_proxy as suggested by Sebastian Himberger: <A
href="http://tinyurl.com/mdtedg">http://tinyurl.com/mdtedg</A></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial size=2>My sites section
from opencms-system.xml:</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face="Courier New"
size=2><sites><BR>
<workplace-server>http://local.opencms</workplace-server><BR> <default-uri>/sites/default/</default-uri><BR> <site
server="</FONT><A href="http://local.opencms.devel"><FONT face="Courier New"
size=2>http://local.opencms.devel</FONT></A><FONT face="Courier New" size=2>"
uri="/sites/devel/"/><BR></sites></FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial size=2>My rfs/vfs settings
form opencms-importexport.xml:</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face="Courier New"
size=2><rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix<BR><vfs-prefix></vfs-prefix></FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial size=2>My VirtualHost
section from httpd.conf:</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face="Courier New"
size=2><VirtualHost 127.0.0.1><BR> ServerName
local.opencms<BR> ServerAlias local.opencms.devel<BR> DocumentRoot
"C:/ApacheTomcat/Tomcat5.5/webapps/opencms/"</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT size=2><BR><FONT
face="Courier New"> <Proxy
ajp://localhost:8009/*><BR> Allow from all<BR>
</Proxy></FONT></FONT></SPAN></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face="Courier New" size=2>
ProxyPass /opencms/
ajp://localhost:8009/opencms/<BR> ProxyPassReverse
/opencms/ ajp://localhost:8009/opencms/</FONT></SPAN></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face="Courier New" size=2>
ProxyPass
/
ajp://localhost:8009/opencms/opencms/<BR> ProxyPassReverse
/
ajp://localhost:8009/opencms/opencms/<BR></VirtualHost></FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=427361214-28082009><FONT face=Arial size=2>My relevant
connector in server.xml:</FONT></SPAN></DIV>
<DIV><SPAN class=427361214-28082009><FONT face="Courier New"
size=2><Connector port="8009" emptySessionPath="true" protocol="AJP/1.3"
/></FONT></SPAN></DIV></BODY></HTML>