Try that one
AuthUserFile /home/sites/site1/web/.mypassfile
AuthGroupFile /dev/null
Authname Web Site
Authtype Basic
<Limit GET POST>
require valid-user
</Limit>
To make your Passwordfile:
Telnet your raq, give root
cd AuthUserFile /home/sites/site1/web/
htpasswd -c .mypassfile <username>
Use the line above to add users to the pass file
to remove a user open the passfile (vi, joe...) an delte the line from the
user
you want to remove
Greets Sven
Eric Beck schrieb:
> Thanks John, I've tried their posted method already, and it doesn't work
>
> I get server error.
>
> Could it be anything to do with the permissions on either the .htaccess
> file, or the .htpasswd file (or whatever chosen password file I've
> created)????
>
> here's the .htaccess file...pretty straigt forward. Can anyone see what's
> wrong?
>
> order allow,deny
> allow from all
> require user valid-user
> Authname Web Site
> AuthPAM_Enabled off
> Authtype Basic
> AuthUserFile /home/sites/site1/web/.mypassfile
>
> Thanks,
>
> Eric
>
> At 11:14 AM 5/1/00 -0400, you wrote:
> >I'm not sure which system you're using, but here's a link about putting
> >password files in the site web directory:
> >
> >http://www.cobalt.com/support/kb/search.php3?ques=htaccess&qid=518&lang
uage=
> >1
> >
> >
> >
> >-----Original Message-----
> >From: cobalt-developers-admin@xxxxxxxxxxxxxxx
> >[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Eric Beck
> >Sent: Monday, May 01, 2000 8:37 AM
> >To: cobalt-developers@xxxxxxxxxxxxxxx
> >Subject: [cobalt-developers] .htaccess files and authentication
> >
> >
> >
> >Can anyone tell me ...
> >
> >Why is there a problem putting an .htaccess file in a site's web
directory,
> >and then you get a server error, like it doesn't want to allow it. I've
> >looked in the access.conf file, and it looks like overrides are
allowed, so
> >what gives? I've been doing this with BSDi for years.
> >
> >
> >
> >_______________________________________________
> >cobalt-developers mailing list
> >cobalt-developers@xxxxxxxxxxxxxxx
> >http://list.cobalt.com/mailman/listinfo/cobalt-developers
> >
> >
> >_______________________________________________
> >cobalt-developers mailing list
> >cobalt-developers@xxxxxxxxxxxxxxx
> >http://list.cobalt.com/mailman/listinfo/cobalt-developers
> >
> Eric Beck, BWSD
> http://web-design.net/index.shtml mailto:admin@xxxxxxxxxxxxxx
> 996 Basswood Avenue, Oshawa, ON L1H 2G7
> Phone: 905 436 6814 Fax: 413 581 7439
> ================================================================
> http://InstantDomainRegistration.com
> $22 CDN (~$15 US) !!! Save Up To 57% on Domain
Registration !!!
> A Beck Web Servers and Design Company
> ================================================================
> BECK WEB SERVERS & DESIGN - WHERE SUPPORT AND SERVICE ARE #1
> ================================================================
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers