[mapserver-users] ms4w - Application protection with password

stefanak at dblab.ece.ntua.gr stefanak at dblab.ece.ntua.gr
Tue Feb 19 05:07:49 EST 2008


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.



More information about the mapserver-users mailing list