I think reverse Proxy needs a better write up for all the optional Apache versions. I too still cannot get this to work and IS very frustrating.
Once I do, I'll add it to the original Readme.md file.
I'm almost certain everythings right - but it just will not load up!
This is how I've set it up.
XBMCLive Apache Server with Sab/CP/Sick/MFP all installed to it and works perfectly with
http://xbmclive as the address and PORTS set.
Here is the z-mfp.conf I created in /etc/apache2/sites-enabled
Code:
<VirtualHost *>
SSLProxyEngine on
ProxyRequests On
ProxyPreserveHost Off
ErrorLog logs/mfp_error_log
TransferLog logs/mfp_access_log
<Location /sabnzbd>
ProxyPass http://xbmclive:8080/sabnzbd/
ProxyPassReverse http://xbmclive:8080/sabnzbd/
</Location>
<Location /xbmc>
ProxyPass http://xbmclive:8082
ProxyPassReverse http://xbmclive:8082
</Location>
<Location /tvshows>
ProxyPass http://xbmclive:8081
ProxyPassReverse http://xbmclive:8081
</Location>
<Location /movies>
ProxyPass http://xbmclive:5000
ProxyPassReverse http://xbmclive:5000
</Location>
</VirtualHost>
CP and Sickbeard's URLBases are set correctly.
My MFP Config setup.
Code:
$GLOBAL_MACHINE = true;
$GLOBAL_USER_PASS = false;
$GLOBAL_IP = 'xbmclive';
$GLOBAL_USER = '';
$GLOBAL_PASS = '';
$REVERSE_PROXY = true;
$XBMC_WEBROOT = '/xbmc';
$SICKBEARD_WEBROOT = '/tvshows';
$COUCHPOTATO_WEBROOT = '/movies';
$SABNZBD_WEBROOT = '/sabnzbd';
$UTORRENT_WEBROOT = '';
$JDOWNLOADER_WEBROOT = '';
$TRANSMISSION_WEBROOT= '';
/* XBMC Section*/
$XBMC_IP = '';
$XBMC_PORT = '8082';
$XBMC_USERNAME = '';
$XBMC_PASS = '';
/* SickBeard Section*/
$SICKBEARD_IP = '';
$SICKBEARD_PORT = '8081';
$SICKBEARD_USERNAME = '';
$SICKBEARD_PASS = '';
/* SABNZBD Section*/
$SABNZBD_IP = '';
$SABNZBD_PORT = '8080';
$SABNZBD_USERNAME = '';
$SABNZBD_PASS = '';
$SABNZBD_API = 'MY SABNZBD API';
/* CouchPotato Section*/
$COUCHPOTATO_IP = '';
$COUCHPOTATO_PORT = '5000';
$COUCHPOTATO_USERNAME= '';
$COUCHPOTATO_PASS = '';
and
Code:
$navlink;
$navlink["XBMC"] = '/xbmc';
$navlink["Sickbeard"] = '/tvshows';
$navlink["Couch Potato"] = '/movies';
$navlink["Sabnzbd"] = '/sabnzbd';
So far so good?
I then copied all the proxy files from 'mods-available' folder to 'mods-enabled' folder, which are proxy.load, proxy_ajp.load, proxy_balance.load, proxy_ftp.load and proxy_http.load.
As well as proxy.conf -
Code:
<IfModule mod_proxy.c>
#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
Deny from all
#Allow from .example.com
</Proxy>
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
ProxyVia On
</IfModule>
When I restart Apache to enable the z-mfp.conf file I get this -
Quote:xbmc@XBMCLive:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2
[Wed Jun 22 20:40:28 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
[Wed Jun 22 20:40:28 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
[fail]
Please, for the love of god, help me get this flaming thing working before I burst a blood vessel!