Re: htaccess woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 26 July 2004 08:43, Reuben D. Budiardja wrote:
> On Monday 26 July 2004 08:57, MKlinke wrote:
> > On Monday 26 July 2004 05:13, kenwardc wrote:
> > > Hi All
> >
> > It sounds like you're putting the wrong file in the web site
> > folder. Your setup should look something like below:
> >
> > Regards,  Mike Klinke
> >
> > ---------------------------
> >
> >
> > ---- /etc/httpd/conf/httpd.conf -----
> >
> > <Directory "/var/www/html/protected_directory">
> >         AllowOverride AuthConfig
> >         Order deny,allow
> >         Allow from all
> > </Directory>
>
> I'm not sure if the above in httpd.conf is necessary. I think by
> default the httpd.conf in RHEL (w/ apache2) allows you to put
> .htaccess file anywhere.
>
> I'd try the suggestion below first, wihout changing the httpd.conf
> and see if it works (except if you've changed the default so that
> you need to explicitly enable AuthConfig option for the
> protected_directory).
>
>

Not exactly sure what you're referring to when you say "below", but if 
you're saying that:

---- /etc/httpd/conf/httpd.conf -----

<Directory "/var/www/html">
        AllowOverride AuthConfig
        Order deny,allow
        Allow from all
</Directory>

should work as well, I think I agree.

Regards,  Mike Klinke




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux