[ms4w-users] ms4w - Application protection with password
jmckenna at dmsolutions.ca
Thu Feb 21 09:50:47 EST 2008
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.
> 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
> it works without any authorization...
> Thanks again for your assistance!
> ----- 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
>> 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
>>> 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!
DM Solutions Group Inc.
More information about the ms4w-users