Hi,<br><br>if additionally you want to clean your urls, you can go this way:<br><br><a href="http://opencms-wiki.org/Removing_the_/opencms/opencms_prefix_without_using_Apache">http://opencms-wiki.org/Removing_the_/opencms/opencms_prefix_without_using_Apache</a><br>

<br><br><br><div class="gmail_quote">2010/1/14 Graeme Kidd <span dir="ltr"><<a href="mailto:coolkidd3@hotmail.com">coolkidd3@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

It turns out I was just complicating things, in the end I just needed to<br>
add:<br>
<Alias><a href="http://site2.com" target="_blank">site2.com</a></Alias><br>
<br>
To the localhost <HOST> element and remove the 8081 connector.<br>
<br>
Thanks anyway<br>
<div><div></div><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a><br>
[mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>] On Behalf Of Graeme Kidd<br>
Sent: 13 January 2010 20:34<br>
To: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
Subject: [opencms-dev] Multiples sites without apache front end<br>
<br>
Hi,<br>
<br>
I am wanting to set up two sites in OpenCMS and I am aware of the following<br>
documentaiton:<br>
<a href="http://opencms-wiki.org/MultiSite_configuration_instructions_%28apache_mod_j%0Ak%29" target="_blank">http://opencms-wiki.org/MultiSite_configuration_instructions_%28apache_mod_j<br>
k%29</a><br>
<a href="http://opencms-wiki.org/MultiSite_configuration_instructions" target="_blank">http://opencms-wiki.org/MultiSite_configuration_instructions</a><br>
<br>
My setup is currently Tomcat 6 without an Apache front end, which means I am<br>
having trouble with the above documentation.<br>
<br>
This how I have configured my setup so far:<br>
<br>
opencms-syste.xml<br>
<sites><br>
  <workplace-server><a href="http://localhost:8080" target="_blank">http://localhost:8080</a></workplace-server><br>
  <default-uri>/sites/default/</default-uri><br>
  <site server="<a href="http://localhost:8080" target="_blank">http://localhost:8080</a>" uri="/sites/default/"/><br>
  <site server="<a href="http://site2.com" target="_blank">site2.com</a>" uri="/sites/site2/"/><br>
</sites><br>
<br>
server.xml<br>
<Connector port="8080" maxHttpHeaderSize="8192"<br>
          maxThreads="150" minSpareThreads="25" maxSpareThreads="75"<br>
          enableLookups="false" redirectPort="8443" acceptCount="100"<br>
          connectionTimeout="20000" disableUploadTimeout="true" /><br>
<br>
      <br>
<Connector port="8081" maxHttpHeaderSize="8192"<br>
          maxThreads="150" minSpareThreads="25" maxSpareThreads="75"<br>
          enableLookups="false" redirectPort="8443" acceptCount="100"  <br>
          proxyName="<a href="http://site2.com" target="_blank">site2.com</a>" proxyPort="80"<br>
          connectionTimeout="20000" disableUploadTimeout="true" /><br>
<br>
Hosts file<br>
127.0.0.1       <a href="http://site2.com" target="_blank">site2.com</a><br>
<br>
Goin to "<a href="http://site2.com/opencms" target="_blank">http://site2.com/opencms</a>" results in a Browser "404" (not OpenCMS<br>
404) but going to "<a href="http://site2.com:8081/opencms" target="_blank">http://site2.com:8081/opencms</a>" results in the loading of<br>
the default site ("/sites/default/").<br>
<br>
Does anyone know what I am doing wrong and if its possible to set up<br>
multiple site without using APache?<br>
<br>
Thanks<br>
<br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br>