httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoe Ballz" <>
Subject Re: [users@httpd] 2.0.48 user auth not working
Date Fri, 18 Jun 2004 01:11:33 GMT
Wouldn't using .htaccess and .htpasswd be better?

Zoe - Website Hosting for the Transgendered Community
  ----- Original Message ----- 
  From: Joey Hewitt 
  Sent: Friday, June 18, 2004 1:58 AM
  Subject: Re: [users@httpd] 2.0.48 user auth not working

  (This looks like a repost.  If it is, I think it would be nice to say so,
  and perhaps wait more than a day to post again.)

  Ian L <> wrote:
  > I'm trying to password protect a directory under apache, but apache isnt
  > asking for a password. Its letting me view html and executing cgi pages. I
  > used pretty much the same config on another site running on this machine
  > and that is working. This one though just acts like there's no
  > authentication at all.
  > Any idea what i did wrong?  (i did restart apache) here's the relevant
  > file section:
  > <VirtualHost>
  >   ServerName
  >   DocumentRoot /disk/whis-site
  >   CustomLog logs/access_log_whis combined
  >   <Directory /disk/whis/phppgadmin>
  >    Options +ExecCGI
  >    AuthType Basic
  >    AuthName "Whis"
  >    AuthUserFile /disk/whis_PassFile
  >    Require valid-user
  >   </Directory>
  > </VirtualHost>
  > thanks

  You might need to tell Apache to deny access unless authentication has been
  done, with something like

      Order deny,allow
      Deny from all
      AuthType Basic
      AuthName "Whis"

  Someone please say something if I'm wrong; I'm no guru. ;)  Hope this helps,

  The official User-To-User support forum of the Apache HTTP Server Project.
  See <URL:> for more info.
  To unsubscribe, e-mail:
     "   from the digest:
  For additional commands, e-mail:

View raw message