Setting up password with cherokee on ubuntu

saroos1

Member
May 25, 2018
718
0
16
Alright so I'm running Ubuntu 12.10, rtorrent 0.9.2, libtorrent 0.13.2, and Cherokee 1.2.101, ruTorrent 3.4. Everything works great except I cannot setup password authentication. Well let me rephrase that. I can set it up, password works, but ruTorrent doesn't. Without password I can access either http or https no issues. I'm kinda at a loss. Here's the message I receive.

Code:
WebUI started.
JS error: [https://localhost/rutorrent/ : 1] Uncaught SyntaxError: Unexpected token <
Bad response from server: (200 [parsererror,getuisettings]) <?php require_once( 'util.php' ); $fname = getSettingsPath()."/uisettings.json"; $s = @file_get_contents($fname); if($s==false) $s = '{}'; cachedEcho($s,"application/json",true); ?>

Any ideas would be greatly appreciated.
 

lisas4567

Member
May 25, 2018
773
0
16
Figured out the problem. I had to create a vhost in order for it to take. Not exactly what I wanted to do, but it works.