[ale] .htaccess
Terry Bailey
terry at bitlinx.com
Fri Mar 7 18:15:22 EST 2008
The answer is "yes" to all of your questions. A funny thing. If I
try to access one of the files in /var/www/html/admin (e.g.,
/var/www/html/admin/add.htm) the username/password popup does not
happen. However, if I try to access this same file from a menu URL
(i.e., /var/www/html/admin/menu.htm) then the popup occurs. Note
that /var/www/html is the document root. The .htaccess file is in
the directory /var/www/html/admin. However
http://xxx.xxx.xxx.xxx/admin nor
http://xxx.xxx.xxx.xxx/admin/menu.htm forces a username/password popup.
At 05:21 PM 3/7/2008, you wrote:
>On Fri, Mar 7, 2008 at 5:10 PM, Terry Bailey <terry at bitlinx.com> wrote:
> > Hi,
> >
> > I have a directory structure in Fedora core 5 as follows:
> >
> > /var/www/html/admin
> >
> > In admin there is a .htaccess file that contains the following
> information:
>
>is it world readable?
>
> > AuthName ByPassword
> > AuthType Basic
> > AuthUserFile /usr/local/adminuser
> > Require valid-user
>
>is /usr/local/adminuser readable by the Apache userid?
>
> > This works in Solaris 9 but, for some reason, the user/password popup
> > does not happen in Fedora. Is there something that I need to do in
> > the httpd.conf file?
>
>AllowOverride AuthConfig
>
>
>-Jim P.
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://mail.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list