Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Limit POST, PUT methods

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


wfrench at xtria

Feb 23, 2005, 8:59 AM

Post #1 of 3 (930 views)
Permalink
Limit POST, PUT methods

Can anyone tell me where I would put a Limit directive?

Do I put it into a .htaccess file in the root directory of the website, or do I place it in the httpd.conf file inside of a Directory directive statement?

Please help.




Warron French
Sr. Network Engineer
Xtria, LLC


RDNelson at Mail

Feb 23, 2005, 9:28 AM

Post #2 of 3 (853 views)
Permalink
RE: Limit POST, PUT methods [In reply to]

Warron:

Post in plain text please!

> Can anyone tell me where I would put a Limit directive?
>
> Do I put it into a .htaccess file in the root directory of the website,
> or do I place it in the httpd.conf file inside of a Directory directive
> statement?

You can put it in either place. See the docs:

http://httpd.apache.org/docs-2.0/mod/core.html#limit.

~ Robert


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


wfrench at xtria

Feb 23, 2005, 10:01 AM

Post #3 of 3 (862 views)
Permalink
RE: Limit POST, PUT methods [In reply to]

Robert, I read this article already.

So, I wonder if maybe you can give me a more clear instruction.

If I want to not allow users to use PUT or POST do I use Limit or LimitExcept, from what I can tell it looks like the book I am reading from ORA -- Apache the Definitive Guide is saying that access-control directives should NOT be placed within a <Limit> section but it doesn't exactly say to place them in a <LimitExcept> section either.

All I want to do is allow only GET for this website I am working on since it is a government server and I need to secure it.

Would I perhaps do:


<Limit GET>
Require valid-user
</Limit>

Or would I do:
<LimitExcept GET>
Require valid-user
</LimitExcept>

I just want to learn this and secure the website.



Warron French
Sr. Network Engineer
Xtria, LLC

-----Original Message-----
From: Nelson, Robert D. [mailto:RDNelson [at] Mail]
Sent: Wednesday, February 23, 2005 12:28 PM
To: 'users [at] httpd'
Subject: RE: [users [at] http] Limit POST, PUT methods


Warron:

Post in plain text please!

> Can anyone tell me where I would put a Limit directive?
>
> Do I put it into a .htaccess file in the root directory of the website,
> or do I place it in the httpd.conf file inside of a Directory directive
> statement?

You can put it in either place. See the docs:

http://httpd.apache.org/docs-2.0/mod/core.html#limit.

~ Robert


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.