From 3e591731334c82b8e406069eb3f5950ce28a8818 Mon Sep 17 00:00:00 2001 From: Luca Santarelli Date: Thu, 13 Oct 2016 01:13:21 +0200 Subject: [PATCH] Added configuration for Apache 2.4 w/ mod_proxy_scgi, as mod_scgi is Apache 2.2 only --- RPC-Setup-XMLRPC.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/RPC-Setup-XMLRPC.md b/RPC-Setup-XMLRPC.md index 45309b8..3d7051a 100644 --- a/RPC-Setup-XMLRPC.md +++ b/RPC-Setup-XMLRPC.md @@ -2,17 +2,21 @@ What you need: -* http://python.ca/scgi/ for Apache, Lighttpd should have this built-in. +* http://python.ca/scgi/ for Apache 2.2, mod_proxy_scgi enabled for Apache 2.4, Lighttpd should have this built-in. * http://xmlrpc-c.sourceforge.net/ 1.00 or later, 1.07 or later for 64bit integer support. Configure rtorrent with the `--with-xmlrpc-c` flag. Then add appropriate configuration, according used web-server. ### Apache -**httpd.conf**: +**httpd.conf (2.2)**: ```ini SCGIMount /RPC2 127.0.0.1:5000 ``` +**httpd.conf (2.4)**: +```ini +ProxyPass /RPC2 scgi://127.0.0.1:5000 +``` **rtorrent.rc**: ```ini