httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Dalton <aa...@daltons.ca>
Subject [users@httpd] Restrict Proxy by method
Date Sat, 24 Oct 2009 12:18:08 GMT
Is there a way to tell a proxy server to only forward requests using a 
particular method (GET, POST, etc...)?  I have a web app with a front 
and back end server.  I want the front end to pass along all GETs to the 
back, but reject all other methods.  I've been using <Limit>, but that 
does not work.  I would appreciate any assistance.

<Location /fs>
	<Limit GET>
		ProxyPass http://backend/fs
		ProxyPassReverse http://backend/fs
	</Limit>
</Location>

Thanks for your time!
Aaron


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message