Re: htaccess failure
I had some similar problem and although I can't remember exactly what was, but it
was something to do with the order of the commands. It had me fooled for a while.
Here's an example of a .htaccess file that works.
This one also allows access to a certain subnet of IP's without having to enter a
(replace xxx.xxx.xxx.xxx with relavent IP's)
Deny from all
AuthName "Staff only"
Allow from xxx.xxx.xxx.xxx/27
Tamas TEVESZ wrote:
> On Mon, 19 Feb 2001, Martin WHEELER wrote:
> > > > AuthUserFile /etc/htusers
> > > > AuthName "Linux certification programmes (enter user ID)"
> > > > AuthType Basic
> > > > require valid-user
> > >
> > > see above. drop in a `satisfy all' right here.
> > Still no go. No difference whatsoever.
> then again, enclose the above `require valid-user\nsatisfy all' ina
> <Limit GET POST PUT *whatever*>...</Limit>
> So, you're a Ph.D. Just don't touch anything.
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org