[mapserver-users] ms4w - Application protection with password

Jeff McKenna jmckenna at dmsolutions.ca
Tue Feb 19 09:12:11 PST 2008


I quickly executed the exact steps mentioned in the MS4W readme 
(http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#password-protection-configuration-for-applications) 
   and I was successful.

(note that MS4W has its own email list: join at 
http://lists.maptools.org/mailman/listinfo/ms4w-users)

-jeff




stefanak at dblab.ece.ntua.gr wrote:
> Dear friends
> 
> I have defined the following in order to protect an ms4w application
> with password; but it does not work...
> 
> =============
> 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 MapServer-users mailing list