logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to achieve user based rate limit/throttling
Author
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: 7294
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


Reply to topic   Topic: How to achieve user based rate limit/throttling View previous topic :: View next topic
Post new topic   Forum Index -> Apache