Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: How to achieve user based rate limit/throttling |
|
Author |
|
Ashvini
Joined: 08 Nov 2017 Posts: 1 Location: Gurgaon
|
Posted: Wed 08 Nov '17 9:03 Post subject: How to achieve user based rate limit/throttling |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 21 Nov '17 17:16 Post subject: |
|
|
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 |
|
|
|
|
|
|