[Fwd: Re: [ms4w-users] ms4w - Application protection with password]

Jeff McKenna jmckenna at dmsolutions.ca
Thu Feb 21 14:27:50 EST 2008



-------- Original Message --------
Subject: Re: [ms4w-users] ms4w - Application protection with password
Date: Thu, 21 Feb 2008 21:17:34 +0200
From: E.Stefanakis <estef at hua.gr>
To: Jeff McKenna <jmckenna at dmsolutions.ca>
References: <34ABD652D82543DC8507FE66719314C1 at emmanuelPC> 
<47BB2DDC.7000709 at dmsolutions.ca><9CD6D27C041D4C4D970479CC275AF219 at emmanuelPC> 
<47BD8FC7.1040905 at dmsolutions.ca>

the appl. protection worked ! Thanks !!!

Emmanuel.

----- Original Message -----
From: "Jeff McKenna" <jmckenna at dmsolutions.ca>
To: <ms4w-users at lists.maptools.org>
Sent: Thursday, February 21, 2008 4:50 PM
Subject: Re: [ms4w-users] ms4w - Application protection with password


> I'm not sure exactly what is happening, but here are my thoughts:
>
> - extract and install a fresh ms4w on another drive (to make sure there 
> are no apache httpd.conf changes conflicting)
> - install gmap on that fresh ms4w and follow steps 1-5 again exactly asis 
> (and only steps 1-5)
> - load the gmap application in your browser
>
> another note: if you are looking for WMS authentication that is another 
> subject totally, which i honestly don't know anything about.
>
> -jeff
>
>
>
>
> E.Stefanakis wrote:
>> Dear Jeff
>>
>> I get back the HTTP 403 - Forbitten message...
>>
>> I tried it with my application as well and I got the same message.
>> However, when I acceess this application (ITE) through a WMS URL
>>
>> http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ITE/htdocs/WMS/infocharta.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=nomos_irakliou,dhmoi_irakliou&BBOX=553530,3864020,653540,3925230&STYLES=&SRS=EPSG:2100&WIDTH=500&HEIGHT=306&FORMAT=image/png 
>> it works without any authorization...
>>
>> Thanks again for your assistance!
>>
>> Emmanuel.
>>
>>
>> ----- Original Message ----- From: "Jeff McKenna" 
>> <jmckenna at dmsolutions.ca>
>> To: <ms4w-users at lists.maptools.org>
>> Sent: Tuesday, February 19, 2008 9:28 PM
>> Subject: Re: [ms4w-users] ms4w - Application protection with password
>>
>>
>>> What happens when you download the MS4W addon package "PHP/MapScript 
>>> Sample Application" and followed steps 1 to 5 exactly in 
>>> http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#password-protection-configuration-for-applications ?
>>>
>>> -jeff
>>>
>>>
>>>
>>> E.Stefanakis wrote:
>>>> Dear friends
>>>>
>>>> I have defined the following (as described in the ms4w installation 
>>>> notes) in order to protect an ms4w application with password; but it 
>>>> does not work...
>>>> (I tried it in Windows Vista)
>>>>
>>>> =============
>>>> The application resides at c:/ms4w/apps/ITE/htdocs
>>>>
>>>> The C:\ms4w\apps\ITE\htdocs\ht.acl file contains the following:
>>>>
>>>>    AuthType Basic
>>>>    AuthUserFile "c:/ms4w/Apache/bin/passwdkml.txt"
>>>>    AuthName "Password Required"
>>>>
>>>>    require valid-user
>>>>  The C:\ms4w\httpd.d\httpd_ITE.conf file contains the following:
>>>>
>>>>    Alias /ITE/ "/ms4w/apps/ITE/htdocs/"
>>>>
>>>>    <Directory "/ms4w/apps/ITE/htdocs/">
>>>>      AllowOverride AuthConfig
>>>>      Options Indexes FollowSymLinks Multiviews
>>>>    </Directory>
>>>>
>>>> I have also added the following to the C:\ms4w\Apache\conf\httpd.conf
>>>>
>>>>    AccessFileName  ht.acl .htcaccess
>>>>
>>>> ================
>>>>
>>>> Any help would be greatly appreciated
>>>>
>>>> Thanks in advance!
>>>>
>>>> Emmanuel.
>>>>



More information about the ms4w-users mailing list