Ryan's method should work, but make sure that comes above your proxy
rule.  Apache is sensitive to the orders of certain things.

Sean

On 5/13/07, Ryan Casey <[EMAIL PROTECTED]> wrote:
> > I have set up a dev. domain to point at my regular mongrel cluster
> > (used for the regular domain), but when adding basic authentication
> > to limit the access using a simple name/pass - it isn't getting
> > picked up by apache2.
> >
> > I have pointed the document root and directory of the virtual server
> > elsewhere, and it picks up the authentication straight away.
> >
> > I'm guessing that the rewrite rule to push the requests over to the
> > mongrel_cluster are taking precedence
>
> This is a little late...but...
>
> Did you try using the location directive to restrict access?
>
> <Location /intranet>
>         AuthType Basic
>         AuthName "Intranet"
>         AuthUserFile /etc/httpd/conf/http.users
>         AuthGroupFile /etc/httpd/conf/http.group
>         Require group my_grp
> </Location>
>
> This works for me with apache 2.0.x and mod_proxy.
>
> HTH,
> -Ryan Casey
>
>
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to