Page 1 of 1

Ability to change the URL?

Posted: February 21st, 2008, 7:28 am
by RoRoo
Hi,

I've just started to use this product, and I immediately wondered if there was an option to change the URL to remove the sabnzbd part.
I couldn't seem to find it in the configuration file, but maybe there's another place I could look?

Already working on a custom skin ;)

Thanks

Re: Ability to change the URL?

Posted: February 21st, 2008, 2:46 pm
by shypike
It's hard-coded in the Python code. Feel free to remove it  ;D

The reason it's there is that you can connect SABnzbd to an Apache server
without having naming conflicts with other programs connected to it
and any website connected to the Apache server.

Re: Ability to change the URL?

Posted: February 21st, 2008, 3:38 pm
by RoRoo
Ah cool I'll crank up the editor then :)

I understand the reasons, was just wondering if there was some way to bypass this.. Guess not if it's hardcoded ;)

I'll use another way :) Thanks..

Re: Ability to change the URL?

Posted: February 21st, 2008, 4:06 pm
by huleboeren
With SABnzbd being open-source(it is right?) - cant you change anything to your liking? :S

Re: Ability to change the URL?

Posted: February 21st, 2008, 4:51 pm
by DeXeS
Not everybody can edit python. in windows xp there is a file called "host". in that file you can redirect locally the web adress to an other adress. This doesn't work if you have sab running on another pc than the on your trying to connect from. It's explained here:
http://www.accs-net.com/hosts/how_to_use_hosts.html

if you are using it from another computer, redirect the link (http://YouInternetIP:PORT/sabnzbd) to sab to a website adres like on one of this sites:
dyndns.org
tzo.com
dhs.org

really getting rid of the extra /sabnzbd/ part you have to changes the source