logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



How to achieve user based rate limit/throttling

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
Ashvini



Joined: 08 Nov 2017
Posts: 1
Location: Gurgaon

PostPosted: Wed 08 Nov '17 9:03    Post subject: How to achieve user based rate limit/throttling Reply with quote

I am exploring apache to use as http proxy on the top of weblogic services.we have to handle scenarios where we can restrict traffic from a particular user or from a particular source IP.we are having multiple user/source system and whose are consuming same weblogic service.

Please find below sample part httpd.conf file.

<Location /test1>
Order deny,allow
Allow from 127.0.0.1
Deny from all
Authtype Basic
Authname "Password Required"
AuthUserFile C:/Apache24/htdocs/test/testpassword
Require user sachin2,sachin1,sachin
SetOutputFilter RATE_LIMIT
SetEnv rate-limit 10
</Location>
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Tue 21 Nov '17 17:16    Post subject: Reply with quote

Which version of apache do you use?
if you have 2.4.x Order Allow,Deny no longer works. You need to use Require
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1