Re: Apache as Proxy for XML-RPC Requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 06 Aug 2007 14:59:48 +0200
Christian Klinger <cklinger@xxxxxxxxxxx> wrote:

> Now I want to protect the <Proxy *> Section.
> In the XML-RPC-Request is a key. I have to validate
> this key. And if the key is valid the request should
> be proxied through the mod_proxy engine.

You mean in the XML?  Apache won't look at that unless
you insert a module to do that.  And such a module is
likely to have to be a big performance hit, because
if it were to stream the incoming content, half the
request may already have passed through before it
ascertains that the request should have been forbidden.

> Is and how (maybe examples or urls) this possible?
> Are there any modules who do this?

Depending on your task, mod_security might be a solution.

> Is it possible to check the header if the
> Content-Type is "text/xml" and all other should be redirected
> to other sites? Only requests with Content-Type "text/xml" should
> be proxied to this xml-rpc Server.

See RewriteCond.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux