[ms4w-users] ms4w - Application protection with password
E.Stefanakis
estef at hua.gr
Tue Feb 19 15:33:45 EST 2008
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.
>>
>
> --
> Jeff McKenna
> DM Solutions Group Inc.
> http://www.dmsolutions.ca
> _______________________________________________
> ms4w-users mailing list
> ms4w-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
More information about the ms4w-users
mailing list