[plug] Query about apache and "Jitterbug".

Matt Kemner zombie at networx.net.au
Mon Oct 25 12:43:42 WST 1999


On Mon, 25 Oct 1999, Buddrige, David wrote:

>         AuthUserFile /etc/httpd/auth/apache.auth

> 
> Having no previous experience with Apache (or Jitterbug), I am unsure what
> they mean by public and private authentication in this context.

They mean you can have one section of the jitterbug site that does not
require username/password to access it (the public section) and one
section that does need valid username and password (private section)

> I am also unable to find the documentation that would describe how to create
> an apache.auth file (ie, what it should contain within it).

With htpasswd.
See Section G of the apache FAQ
(which I pointed someone else to 3 weeks ago - see 
http://www.cantech.net.au/plug/10-1999/115.html) at
http://www.apache.org/docs/misc/FAQ.html
 
> Is anyone able to explain this to me more clearly... (Sorry, it's a bit of a
> mystery to me)...

OK This is what you do. Create the /etc/httpd/auth/ directory
and run "htpasswd -c apache.auth david"
It will ask you for a password twice.
Then run
"htpasswd apache.auth buddrige"
It will ask you for another password twice.

You now have 2 users that can access /cgi-bin/PACKAGE.private - david and
buddrige, with the passwords you typed in above.

/usr/bin/htpasswd should have come with apache. (apache-common in Debian)

 - Matt




More information about the plug mailing list