The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


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

Re: Apache Server Help



Neil,

You want htpasswd [ /usr/bin/htpasswd ] command, it should be fully
documented in the man page.

Regards

Stuart

On Tue, 2003-09-16 at 15:37, Frost Neil wrote:
> I'm configuring my Apache Server on Red Hat 9, I've got my MP3's on
there
> and I have a virtual host setup to access the directory.
>
> <httpd.conf SNIP>
>
> <VirtualHost *:PORTNO>
> DocumentRoot "/DIR/MP3s"
> </VirtualHost>
>
> </httpd.conf SNIP>
>
> I'm using andromeda at the moment to view the MP3's over the web and
this
> works.
>
> I want to secure this using .htaccess etc which I've set up
>
> <.htaccess SNIP>
>
> AuthType Basic
> AuthName "Protected Area"
> AuthUserFile /DIR/MP3s/.htpasswd
>
> require valid-user
>
> </.htaccess SNIP>
>
>
> How do I get Apache to require the username and password as set up in
> .htpasswd




Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.