Can I put an Apache proxy in front of an XML-RPC server?

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

 



I have an XML-RPC server I would like to make available to a
limited number of hosts on the Internet.  It seems to me that
Apache's proxy capability would be a reasonable way to achieve
this.  I'm having a little problem setting this up however.

Here's my proxy setup (Apache 1.3.33 on a CentOS 4.5 system):

        ProxyRequests Off 
 
        ProxyPass /sbrpc/ http://localhost:8001/sbrpc/ 
        ProxyPassReverse /sbrpc/ http://localhost:8001/sbrpc/ 
        ProxyPass /sbmanage/ http://localhost:8880/ 
        ProxyPassReverse /sbmanage/ http://localhost:8880/ 
 
        <Directory proxy:/sbrpc> 
          Order Deny,Allow 
          Deny from all 
          Allow from host1,host2 
        </Directory> 
 
        <Directory proxy:/sbmanage> 
          Order Deny,Allow 
          Deny from all 
          Allow from host2 
        </Directory> 

This application has both a regular web server (port 8880,
the /sbmanage path) and an XML-RPC server (port 8001, the
/sbrpc path).  The proxy works just fine for the regular
web server, but returns 404 for all requests.  I've
verified that the XML-RPC server is up and operating.

I've never used Apache's mod_proxy before, so I can
see how I might be missing something basic.  What would
that something be?

Thanks,

Skip Montanaro



---------------------------------------------------------------------
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