installing newznab/apache to non-root www dir

Got a program that plays well with SABnzbd? Share it here!
Post Reply
henchman21
Newbie
Newbie
Posts: 4
Joined: December 17th, 2012, 1:52 am

installing newznab/apache to non-root www dir

Post by henchman21 »

I've set everything, and seems good. I went through the install instructions an only had warning messages for date.timezone = Europe/London (which are set find as far as I can tell). Once done with the install I get 500 internal server errors in my apache logs and the pages in web, when I click the links I get a plain blank white page. I modified the install/setup instructions as to what I thought I needed to do, given my tread title, I installed to /var/www/https as i have both HTTP pages and HTTPS pages with a selfsigned cert and the pages are PW protected.

I can go to https://xxxxxxx.com/newznab/www/ with no issue, however, when I click any of the links on the left side (login, register, example content, etc) that's when I get the 500 internal server error and a plain white page. Note though that when I completed the install steps (configuring the usenet server settings and account/SQL server details it was actually working "ok" in the Admin Hangout and logged in. There were some links on the left for admin that did not work as well, but for the most part MANY of the page links worked. When that cookie clears when closing browser it stops working, and I can't log in.

Currently when I try to log in to /newznab/www/admin it redirects to this:

Code: Select all

https://addressname.com/newznab/www/login?redirect=%2Fnewznab%2Fwww%2Fadmin%2F
Has anyone had any experiencing with running newznab in the non-root apache web directory that can offer some assistance?
Last edited by henchman21 on December 21st, 2012, 2:32 pm, edited 1 time in total.
henchman21
Newbie
Newbie
Posts: 4
Joined: December 17th, 2012, 1:52 am

Re: installing newznab/apache to non-root www dir

Post by henchman21 »

Here is what is in the apache error log....

Code: Select all

[Fri Dec 21 09:17:56 2012] [error] [client IP] PHP Notice:  Undefined variable: page in /var/www/https/newznab/www/login.php on line 3
[Fri Dec 21 09:17:56 2012] [error] [client IP] PHP Fatal error:  Call to a member function isPostBack() on a non-object in /var/www/https/newznab/www/login.php on line 3
This is line 3 for the login.php file

Code: Select all

if ($page->isPostBack())
darkromz
Newbie
Newbie
Posts: 40
Joined: December 17th, 2011, 8:02 pm

Re: installing newznab/apache to non-root www dir

Post by darkromz »

hi, did you get this installed and working? im having a problem my self, when i downloaded it and opened it up i noticed the folder structure is a little odd, so left it as is, however when i goto run the update_database.php i just get a blank white page.
henchman21
Newbie
Newbie
Posts: 4
Joined: December 17th, 2012, 1:52 am

Re: installing newznab/apache to non-root www dir

Post by henchman21 »

No, I haven't Originally I was only looking at the access logs for apache and not the error log. I need to do some more digging on the error, hopefully i can find something on why its not recognizing ispostback as a defined variable.
Gnartzz
Newbie
Newbie
Posts: 1
Joined: December 23rd, 2012, 1:32 pm

Re: installing newznab/apache to non-root www dir

Post by Gnartzz »

I had similar problems in Mac OS 10.8.2
Reason was that the use of .htaccess was restrict.

You might wanna check if "AllowOverrides ALL" is set in your http.conf or vhosts.conf.


Cheers G.
Post Reply