Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Limit

From: Paul Sutton <paul(at)c2.net>
Date: Mon Mar 02 1998 - 04:50:02 EST


On Thu, 26 Feb 1998, Dani wrote:
> Hello everyone. I posted this in c.i.w.s.u but I got no awnser

I didn't see it. In fact I still can't see it.

> <Limit> and </Limit> are used to enclose a group of access control

I think only allow, deny and require are affected by the Limit. Although typically people also put AuthType, AuthName and Auth{User,Group}File into the Limit section. Note also that many people use Limit when they want to Limit all methods, with (for example) <Limit GET PUT POST>. That is wrong. To limit all access, just use the require/deny/allow directives without using a Limit section. You only ever need Limit if you want to restrict different methods differently (e.g. only allow PUT for authenticated users, but allow GET and POST for anyone).

> Q1) Do others like: AccessFileName, AllowOverride or the directives from

No.

> Q2) Do the same directives affected by <limit> apply to <files>?

No, Limit and Files are separate. Files is equivalent to Location and Directory, and affects the same directives that those sections affect.

Do you need help?X

> Q3) Finally, it states that a directory can not be put inside a limit I

Yes, absolutely right.

Paul

--
Paul Sutton, C2Net Europe                    
http://www.eu.c2.net/~paul/
Editor, Apache Week .. the latest Apache news 
http://www.apacheweek.com/
Received on Mon Mar 02 09:50:18 1998

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:52:51 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library