Thank you Ian, that did it.<br><br>Luís<br><br><div class="gmail_quote">2010/1/23 Ian Turton <span dir="ltr"><<a href="mailto:ijturton@gmail.com">ijturton@gmail.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;">
<br><br><div class="gmail_quote">2010/1/23 Luís de Sousa <span dir="ltr"><<a href="mailto:luis.a.de.sousa@gmail.com" target="_blank">luis.a.de.sousa@gmail.com</a>></span><div class="im"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br><br>I've been using Geoserver in WinXP for some time, exploring its possibilities with OpenLayers. Geoserver seems to install Apache and a lean version of OpenLayers, which lacks many modules. So far to use these modules I've been copying them into GeoServer's script directory (data_dir/www/openlayers) and including them by hand in the code, like:<br>
<br> <script src="../openlayers/OverviewMap.js"></script><br><br>So now I'd need to install OpenLayers somehow, so that when OpenLayers.js includes a file such as 'OpenLayers/Controls/OverviewMap.js' it finds the proper path. How do I do this? Install it with Apache or can it be deployed to GeoServer?<br>
</blockquote></div><div><br>It is Jetty not Apache, but that's not an issue. Just copy OpenLayers in to your www directory and the point the script tag to whatever directory name you used <br>e.g.<br> <script src="../openlayers-2.8/OpenLayers.js"></script><br>
<br>Ian<br></div></div>-- <br><font color="#888888">Ian Turton<br><br>
</font></blockquote></div><br>