[ms4w-users] multiple sites with different passwords
Daniel Morissette
dmorissette at mapgears.com
Thu Jun 22 11:05:21 EDT 2006
Kevin,
Did you try putting both <Files...> blocks in the same htaccess.acl?
Daniel
Kevin Flanders wrote:
> I would like to have side-by-side sites that share data with different
> passwords in an ms4w setup. I have htaccess.acl and htaccess2.acl files
> in my htdocs folder....each one explicitly listing their respective
> index files only.....
>
> htaccess.acl
>
> <Files "index_staff.phtml">
> AuthType Basic
> AuthUserFile /ms4w/apps/project/htpasswd_project
> AuthName "Project Portal"
> require valid-user
> </Files>
>
>
> htaccess2.acl
>
> <Files "index_staff2.phtml">
> AuthType Basic
> AuthUserFile /ms4w/apps/project/htpasswd_project2
> AuthName "Project2 Portal"
> require valid-user
> </Files>
>
>
> I have added both htaccess.acl and htaccess2.acl to my conf file for
> Apache. I have put both password files in place. But this does not
> work. Project1 works fine. But Project2 simply ignores the need for a
> password. Any ideas?
>
>
>
> Kevin
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ms4w-users mailing list
> ms4w-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
--
Daniel Morissette
http://www.mapgears.com/
More information about the ms4w-users
mailing list