<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>Apache2 with mod_jk (config
taken from our old server)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Cheers,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Phil<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman","serif";
color:#1F497D'>Phil Launchbury<br>
IT & Support Manager<br>
------------------------------------------------------<br>
TSSI Systems Ltd,<br>
Rutland House, Hargreaves Road,<br>
Groundwell Industrial Estate,<br>
Swindon, Wiltshire, SN25 5AZ, U.K.<br>
Tel: +44 (0) 1793 747736<br>
<br>
Support Helpdesk<br>
Tel: +44 (0) 8450 707 898<br>
Email: support@tssi.co.uk<br>
Website: www.tssi.co.uk<br>
<br>
'Securing Business Around the World'<br>
-------------------------------------------------------</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'> </span><span
style='color:#1F497D'><o:p></o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Jonathan Woods
[mailto:jonathan.woods@scintillance.com] <br>
<b>Sent:</b> Thursday, January 29, 2009 8:52 PM<br>
<b>To:</b> 'Phil Launchbury'; 'The OpenCms mailing list'<br>
<b>Subject:</b> RE: [opencms-dev] Adding new locale to existing site<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Phil -</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>How are you fronting OpenCms? Perhaps you could get your web
server to rewrite URLs which don't begin with a locale cue.</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Jon</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b>On
Behalf Of </b>Phil Launchbury<br>
<b>Sent:</b> 27 January 2009 09:57<br>
<b>To:</b> 'The OpenCms mailing list'<br>
<b>Subject:</b> Re: [opencms-dev] Adding new locale to existing site</span><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>At the moment I don't have the
time or resources to upgrade servers.. unless I can guarentee that the upgrade
will go smoothly and without any problems at all..<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>I'm going to do it eventually
but not at the moment - unless it's a guarenteed success!<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Cheers,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Phil<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman","serif";
color:#1F497D'>Phil Launchbury<br>
IT & Support Manager<br>
------------------------------------------------------<br>
TSSI Systems Ltd,<br>
Rutland House, Hargreaves Road,<br>
Groundwell Industrial Estate,<br>
Swindon, Wiltshire, SN25 5AZ, U.K.<br>
Tel: +44 (0) 1793 747736<br>
<br>
Support Helpdesk<br>
Tel: +44 (0) 8450 707 898<br>
Email: support@tssi.co.uk<br>
Website: www.tssi.co.uk<br>
<br>
'Securing Business Around the World'<br>
-------------------------------------------------------</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'> </span><span
style='color:#1F497D'><o:p></o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Carl Alex Friis Nielsen [mailto:cfn@kb.dk] <br>
<b>Sent:</b> Tuesday, January 27, 2009 9:54 AM<br>
<b>To:</b> Phil Launchbury; The OpenCms mailing list<br>
<b>Subject:</b> SV: [opencms-dev] Adding new locale to existing site<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=DA style='color:#1F497D'>Why not upgrade to 7.0.5
?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=DA style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Among other things,
you can then move resources around without breaking links.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Cheers,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Carl<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=DA style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Fra:</span></b><span
lang=DA style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b>På
vegne af </b>Phil Launchbury<br>
<b>Sendt:</b> 27. januar 2009 10:39<br>
<b>Til:</b> opencms-dev@opencms.org<br>
<b>Emne:</b> [opencms-dev] Adding new locale to existing site<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span lang=DA><o:p> </o:p></span></p>
<p class=MsoNormal>Hi,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>We are adding an 'es' locale onto our existing (mature!)
site (OpenCMS 6) and have done it as follows:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Created the new locale (we only had 'en' beforehand).<o:p></o:p></p>
<p class=MsoNormal>Created a top-level folder called es<o:p></o:p></p>
<p class=MsoNormal>Created a top level folder called en and moved our existing
content into it.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Unfortunately this means that all the links within the
existing site are now wrong. Adding a . in front of the link cures the problem
but we really, really don't want to have go go through the whole site updating
each link individually (there are thousands of them!).<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Is there a way that we can automatically add the correct
folder prefix based on the locale? Kind of making /en/ or /es/ as the new root
of the site based on the locale of browser looking at the site. Or can we
globally find/replace to add a . in front of all the links (I thought of WebDAV
but that seems to only work in OpenCMS 7).<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Or can we make the /en/ folder into a symlink to the root of
the main site? That way all our existing content would not have to move and we
can just create the new content in the /es/ folder as needed..<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Help!<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Cheers,<o:p></o:p></p>
<p class=MsoNormal>Phil<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman","serif"'>Phil
Launchbury<br>
IT & Support Manager<br>
------------------------------------------------------<br>
TSSI Systems Ltd,<br>
Rutland House, Hargreaves Road,<br>
Groundwell Industrial Estate,<br>
Swindon, Wiltshire, SN25 5AZ, U.K.<br>
Tel: +44 (0) 1793 747736<br>
<br>
Support Helpdesk<br>
Tel: +44 (0) 8450 707 898<br>
Email: support@tssi.co.uk<br>
Website: www.tssi.co.uk<br>
<br>
'Securing Business Around the World'<br>
-------------------------------------------------------</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
This e-mail message (including any attachments) is from TSSI and intended for
the addressee only. It may contain information that is privileged and
confidential. If you are not the intended recipient, you must not copy,
distribute or take any action in reliance of it. If this communication has been
sent to you in error, please notify us immediately by either replying to this
e-mail or by telephoning our offices on (+44) 1793 747700. TSSI accept no
responsibility for any changes made to this message after it has been sent by
the original author. This email or any of its attachments may contain data that
falls within the scope of the Data Protection Acts. You must ensure that any
handling or processing of such data by you is fully compliant with the terms
and provisions of the Data Protection Act 1984 and 1998.<br>
TSSI Systems Ltd is a company registered in England And Wales with company
number 05433732.<br>
The TSSI Systems Ltd Registered Office address is Rutland House, Hargreaves Rd,
Groundwell Industrial Estate, Swindon, Wiltshire, SN25 5AZ.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
This e-mail message (including any attachments) is from TSSI and intended for
the addressee only. It may contain information that is privileged and
confidential. If you are not the intended recipient, you must not copy,
distribute or take any action in reliance of it. If this communication has been
sent to you in error, please notify us immediately by either replying to this
e-mail or by telephoning our offices on (+44) 1793 747700. TSSI accept no
responsibility for any changes made to this message after it has been sent by
the original author. This email or any of its attachments may contain data that
falls within the scope of the Data Protection Acts. You must ensure that any
handling or processing of such data by you is fully compliant with the terms
and provisions of the Data Protection Act 1984 and 1998.<br>
TSSI Systems Ltd is a company registered in England And Wales with company
number 05433732.<br>
The TSSI Systems Ltd Registered Office address is Rutland House, Hargreaves Rd,
Groundwell Industrial Estate, Swindon, Wiltshire, SN25 5AZ.<o:p></o:p></span></p>
</blockquote>
</div>
<BR>
This e-mail message (including any attachments) is from TSSI and intended for the addressee only. It may contain information that is privileged and confidential. If you are not the intended recipient, you must not copy, distribute or take any action in reliance of it. If this communication has been sent to you in error, please notify us immediately by either replying to this e-mail or by telephoning our offices on (+44) 1793 747700. TSSI accept no responsibility for any changes made to this message after it has been sent by the original author. This email or any of its attachments may contain data that falls within the scope of the Data Protection Acts. You must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998.<BR>
TSSI Systems Ltd is a company registered in England And Wales with company number 05433732.<BR>
The TSSI Systems Ltd Registered Office address is Rutland House, Hargreaves Rd, Groundwell Industrial Estate, Swindon, Wiltshire, SN25 5AZ.<BR>
</body>
</html>