<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Apache SSL Module</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>Hi All,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>MS4W does work with the Apache SSL
Module.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>Getting Apache-SSL to work took a little bit of time
and effort, but here are the steps.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>1. Download MS4W</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>2. Download Apache 2.2 with OpenSSL (I changed the
directory to /ms4w-ssl/apache)*</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>3. Download Win32 OpenSSL (from <A
href="http://www.slproweb.com/products/Win32OpenSSL.html">http://www.slproweb.com/products/Win32OpenSSL.html</A>)**</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>4. Install Apache 2.2 with OpenSSL</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>5. Install Win32 OpenSSL</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>6. Extract the MS4W Zip file</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>7. Copy /ms4w/apps, gdaldata, httpd.d, proj, python,
tmp, and tools directories into the same place in your Apache-SSL directory
structure (i.e. /ms4w-ssl/)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>8. Also copy the /ms4w/Apache/cgi-bin, php to the same
place in you SSL directory structure (i.e.
/ms4w-ssl/apache/).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>9. Copy the httpd.conf from
/ms4w/apache/conf/httpd.conf and replace the httpd.conf for the Apache-SSL
install.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>10. Edit the Apache-SSL httpd.conf file and uncomment
the "LoadModule ssl_module modules/mod_ssl.so" and "Include
conf/extra/httpd-ssl.conf" (I copied this file and modified the copy)
lines.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>11. Edit the httpd-ssl.conf file with the settings for
your SSL certificate.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>12. Start/Restart your Apache server, and all going
well it will be working.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>For more details and options see <A
href="http://httpd.apache.org/docs/2.2/ssl/ssl_howto.html">http://httpd.apache.org/docs/2.2/ssl/ssl_howto.html</A>.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007>* DON'T LET THE APACHE INSTALLER INSTALL TO THE DEFAULT
DIRECTORY, YOU MUST INSTALL IT SOMEWHERE WHERE YOU HAVE NO SPACES IN THE PATH OR
THE SSL COMPONENTS WILL NOT WORK</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=209573723-04112007></SPAN></FONT> </DIV>
<DIV><SPAN class=209573723-04112007><FONT face=Verdana color=#0000ff size=2>** I
created a self signed certificate with Win32 OpenSSL (see <A
href="http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html">http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html</A> for
details).</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-nz><FONT face=Verdana size=2>Cheers Ian</FONT></SPAN> <BR><SPAN
lang=en-nz><FONT face=Verdana
size=2>______________________<BR><B></B></FONT><B></B><B><FONT face=Georgia>Ian
Tidy</FONT></B><FONT face="Times New Roman"><BR></FONT><B></B><B><FONT
face=Georgia size=2>GIS Analyst / Developer</FONT></B><BR><FONT face=Georgia
size=2>Works Asset Department</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Georgia size=2>Napier City
Council</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Georgia
size=2><A
href="mailto:iant@napier.govt.nz">mailto:iant@napier.govt.nz</A></FONT><BR><FONT
face=Georgia size=2><A
href="http://www.napier.govt.nz/">http://www.napier.govt.nz</A></FONT><FONT
face="Times New Roman"></FONT> <FONT face=Georgia size=2>| <A
href="http://maps.napier.govt.nz/">http://maps.napier.govt.nz</A></FONT><FONT
face="Times New Roman"></FONT></SPAN><SPAN lang=en-us> </SPAN></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ms4w-users-bounces@lists.maptools.org
[mailto:ms4w-users-bounces@lists.maptools.org] <B>On Behalf Of </B>Gerard
Troost<BR><B>Sent:</B> Wednesday, 31 October 2007 8:46 p.m.<BR><B>To:</B>
ms4w-users@lists.maptools.org<BR><B>Subject:</B> RE: [ms4w-users] Apache SSL
Module<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=078234407-31102007><FONT face=Arial
color=#0000ff size=2>I am also interested in this answer. A search one month ago
doesnt get me the answer. Mapserver deeds to be compiled with SSL-support, and
in MS4W it is not (why not??)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=078234407-31102007><FONT face=Arial
color=#0000ff size=2>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=078234407-31102007><FONT face=Arial
color=#0000ff size=2>Gerard</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=078234407-31102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=078234407-31102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=078234407-31102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ms4w-users-bounces@lists.maptools.org
[mailto:ms4w-users-bounces@lists.maptools.org] <B>On Behalf Of </B>Ian
Tidy<BR><B>Sent:</B> woensdag 31 oktober 2007 3:36<BR><B>To:</B>
ms4w-users@lists.maptools.org<BR><B>Subject:</B> [ms4w-users] Apache SSL
Module<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Verdana size=2>Hi All,</FONT> </P>
<P><FONT face=Verdana size=2>Where can I get the mod_ssl.so file for
MapServer?</FONT> </P>
<P><SPAN lang=en-nz><FONT face=Verdana size=2>Cheers Ian</FONT></SPAN> <BR><SPAN
lang=en-nz><FONT face=Verdana
size=2>______________________<BR><B></B></FONT><B></B><B><FONT face=Georgia>Ian
Tidy</FONT></B><FONT face="Times New Roman"><BR></FONT><B></B><B><FONT
face=Georgia size=2>GIS Analyst / Developer</FONT></B><BR><FONT face=Georgia
size=2>Works Asset Department</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Georgia size=2>Napier City
Council</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Georgia
size=2>Hastings St, Private Bag 6010, Napier, New Zealand</FONT><FONT
face="Times New Roman"><BR></FONT><B></B><B><FONT face=Georgia size=2>Phone
+64-6-835-7579 Ext 8115</FONT></B><FONT face="Times New Roman"><BR></FONT><FONT
face=Georgia size=2>Fax +64-6-834-4195</FONT><FONT
face="Times New Roman"><BR></FONT></SPAN><A
href="mailto:iant@napier.govt.nz"><SPAN lang=en-nz><U><FONT face=Georgia
color=#0000ff size=2>mailto:iant@napier.govt.nz</FONT></U></SPAN></A><SPAN
lang=en-nz><BR></SPAN><A href="http://www.napier.govt.nz"><SPAN
lang=en-nz><U><FONT face=Georgia color=#0000ff
size=2>http://www.napier.govt.nz</FONT></U></SPAN></A><SPAN lang=en-nz><FONT
face=Georgia size=2> | </FONT></SPAN><A href="http://maps.napier.govt.nz"><SPAN
lang=en-nz><U><FONT face=Georgia color=#0000ff
size=2>http://maps.napier.govt.nz</FONT></U></SPAN></A><SPAN lang=en-nz><FONT
face="Times New Roman"> </FONT></SPAN></P><BR><BR>
<HR>
This e-mail message has been scanned for Viruses and Content and cleared by
<FONT color=#400080><STRONG>MailMarshal </STRONG></FONT>
<HR>
<FONT
size=1>######################################################################<BR>Attention:
<BR>This e-mail message and accompanying data may contain information that<BR>is
confidential and subject to legal privilege. Any information<BR>provided is
given in good faith. However unless specifically stated to<BR>the contrary,
Napier City Council accepts no liability for the<BR>content of this e-mail or
for the consequences of any action taken on<BR>the basis of the information
provided, unless that information is<BR>subsequently confirmed in writing If you
are not the intended recipient,<BR>you are notified that any use, dissemination,
distribution or copying<BR>of this message or data is prohibited. If you
received this e-mail<BR>message in error, please notify us immediately and erase
all copies<BR>of this message and attachments. Thank you. </FONT>
<HR>
This e-mail message has been scanned for Viruses and Content and cleared by
<FONT color=#400080><STRONG>MailMarshal </STRONG></FONT>
<HR>
<FONT face=Arial size=1>Scanned by <A
href="http://www.bizoservices.com/services/email_filter.html">Bizo
EmailFilter</A></FONT>
<HR>
This e-mail message has been scanned for Viruses and Content and cleared by
<FONT color=#400080><STRONG>MailMarshal </STRONG></FONT>
<HR>
<FONT
size=1>######################################################################<BR>Attention:
<BR>This e-mail message and accompanying data may contain information that<BR>is
confidential and subject to legal privilege. Any information<BR>provided is
given in good faith. However unless specifically stated to<BR>the contrary,
Napier City Council accepts no liability for the<BR>content of this e-mail or
for the consequences of any action taken on<BR>the basis of the information
provided, unless that information is<BR>subsequently confirmed in writing. If
you are not the intended recipient,<BR>you are notified that any use,
dissemination, distribution or copying<BR>of this message or data is prohibited.
If you received this e-mail<BR>message in error, please notify us immediately
and erase all copies<BR>of this message and attachments. Thank you.
</FONT>
</BODY></HTML>