Archive

Archive for July, 2011

Virtualhost for Couchpotato, Sickbeard, Transmission and SABnzbd

July 24th, 2011 6 comments

I wanted to be able to get to my applications without having to enter the port numbers e.g.

http://mydomain.com/couchpotato

instead of

http://mydomain.com:5000

First off is to add the information to enable the Apache Proxy Module. This information came from linode.com

sudo gedit /etc/apache2/mods-available/proxy.conf

File excerpt: /etc/apache2/mods-available/proxy.conf

<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
                Allow from all
        </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>

Then you need to make sure that the modules are enabled

sudo a2enmod proxy
sudo a2enmod proxy_http
sudo /etc/init.d/apache2 restart

Then you need to add the locations to the defaults sites

sudo gedit /etc/apache2/sites-available/default

File excerpt: /etc/apache2/sites-available/default

    <Location /couchpotato>
        ProxyPass http://localhost:5000
        ProxyPassReverse http://localhost:5000
    </Location>
 
    <Location /sabnzbd>
        ProxyPass http://localhost:8080/sabnzbd
        ProxyPassReverse http://localhost:8080/sabnzbd
    </Location>
 
    <Location /sickbeard>
        ProxyPass http://localhost:8081/sickbeard
        ProxyPassReverse http://localhost:8081/sickbeard
    </Location>
 
    <Location /transmission>
        ProxyPass http://localhost:9091/transmission
        ProxyPassReverse http://localhost:9091/transmission
    </Location>

Restart apache by running

sudo /etc/init.d/apache2 restart

You will have to edit the config.ini files for both Couchpotato, and SickBeard to use a webroot. Here’s are the lines in the config.ini files that had to change, and what they were changed to.

SickBeard config.ini
web_root = /sickbeard

Couchpotato config.ini
urlbase = couchpotato

Categories: Software Tags: , , ,

Usenet Deals

July 10th, 2011 No comments

I’ve been using Usenet for a while now, and have used a couple different companies. Either of the companies worked fine for me. The first company I used was Newshosting.com. With Newshosting I had 30 SSL connections, and I could use them from separate locations, e.g. I had my server at home running SABnzbd+ and I had my laptop with my wireless connection running SABnzbd+ too. News hosting was costing me $15/mo for unlimited downloads.

I have since switched to Astraweb. I found a couple deals on the internet for astraweb.  The first deal was $11/mo for unlimited downloads and 20 ssl connections. The second deal, which I am currently on is $96/year for unlimited downloads and 20 ssl connections. The second deal at $96/year ends up being $8/mo.  That’s cheaper than even Netflix currently is!

Useful Usenet Programs