<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hello,<div><br></div><div>Tomcat and Apache are very different things, and while there is certainly a degree of overlap in what Apache Httpd and Apache Tomcat can be used for, the way the two applications actually operate is very different.</div><div>Without going in to too much detail here, Tomcat is essentially a J2EE application container, not a webserver and applications are written using the Java programming language. You'd normally never use Tomcat to serve files in the way you'd use Apache httpd. You'd normally delegate such a task to a webserver. And there really isn't much of an issue about having the two servers installed, we sorted out the port conflict issues a while back.</div><div>Excuse any slight errors here, I've only been using Mapserver a few weeks myself, but my understanding is that Mapserver essentially a set of C libraries that are accessible via CGI. You can also access these via PHP, Python and others even Java it seems, using mapscript. But being able to script in Java is still a long way from being able to deploy to a servlet container like Tomcat.</div><div><br></div><div>If you really want to avoid installing Apache httpd, then you might find Geoserver useful, as it is a Java web application, and deploying it to Tomcat is really easy.</div><div>But I would recommend trying Apache Httpd, as it's not particularly difficult to get to grips with.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>regards</div><div><br></div><div>Andrew Mason</div><div><br></div><div><br></div><div><div><div>On 4 Jun 2008, at 10:12, Zhao Ying (CDU) wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"> <o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"> <o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <div class="Section1" style="layout-grid:15.6pt"><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial">Hello,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial"><o:p> </o:p></span></font></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial">I’m Jeff from <st1:state w:st="on">Sichuan</st1:state>, <st1:country-region w:st="on"><st1:place w:st="on">China</st1:place></st1:country-region>. I have a question about <b><span style="font-weight:bold">how to configure MapServer so that it could be<o:p></o:p></span></b></span></font></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold">able to work with apache-tomcat-5.5.26 instead of apache by default</span></font></b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial">. Since I’ve already had tomcat 5.5.26 <o:p></o:p></span></font></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial">installed on my computer and tomcat is well known as both Web server and application server, <o:p></o:p></span></font></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial">it seems there’s no need to install one more web server – apache. Furthermore, more web servers, more <o:p></o:p></span></font></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial">possibilities to conflict, such as listing ports …, right? <o:p></o:p></span></font></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial"><o:p> </o:p></span></font></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial">Could somebody provide a solution in details on how to achieve this? Thanks!! ~~<o:p></o:p></span></font></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial"><o:p> </o:p></span></font></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial"><o:p> </o:p></span></font></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold">Btw, my computer environment:<o:p></o:p></span></font></b></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold">Windows XP;<o:p></o:p></span></font></b></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold">JDK 1.4;<o:p></o:p></span></font></b></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold">apache-tomcat-5.5.26; installed on c:\ apache-tomcat-5.5.26<o:p></o:p></span></font></b></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold">ms4w_2.2.7.zip downloaded from <a href="http://maptools.org/ms4w/">http://maptools.org/ms4w/</a> and unzipped to c:\ms4w<o:p></o:p></span></font></b></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold"><o:p> </o:p></span></font></b></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold"><o:p> </o:p></span></font></b></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold">Regards,<o:p></o:p></span></font></b></p><p class="MsoNormal"><b><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;font-weight:bold">Jeff.<o:p></o:p></span></font></b></p><p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9.0pt;font-family:Arial"><o:p> </o:p></span></font></p> </div><p>Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message</p> </o:smarttagtype></o:smarttagtype></o:smarttagtype><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">mapserver-users mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></div> </blockquote></div><br></div></body></html>