[ms4w-users] ms4w - Application protection with password
Jeff McKenna
jmckenna at dmsolutions.ca
Tue Feb 19 14:28:28 EST 2008
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
More information about the ms4w-users
mailing list