Jump to content

Recommended Posts

Posted

Hi,My Starter Django app is failing to work,i have set it up as told

by heliohost on

http://wiki.helionet.org/Django this page.

 

the url

https://prorealestate.heliohost.org/

 

On Wed, Aug 9, 2017 at 12:47 AM, Heliohost Support

wrote:

 

> Your message (Django application returning Error 500) has been assigned

> the tracking ID [HH#77920]. One of our volunteer community members will

> reply to your email as soon as possible.

>

> Please include the string [HH#77920] in the subject of any future email

> regarding this case. You may do that by simply replying to this message.

>

> Please be aware that our system rejects binary attachements. If you are

> submitting a screenshot or attachement please post a link to the file

> instead of attaching it to the email.

>

> You may view the status of your ticket by visiting:

>

> https://www.helionet.org/index/index.php?showtopic)196

>

> Thank you,

> Heliohost Support

> https://www.heliohost.org/

> https://www.helionet.org/

>

> -----Original Message-----

>

> Return-Path:

> Delivered-To: support@heliohost.org

> Received: from tommy.heliohost.org

> by tommy.heliohost.org (Dovecot) with LMTP id

> ZRtNIXg/ilkmHgAAY4nxBQ

> for ; Tue, 08 Aug 2017 15:47:20 -0700

> Return-path:

> Envelope-to: support@heliohost.org

> Delivery-date: Tue, 08 Aug 2017 15:47:20 -0700

> Received: from mail-it0-f49.google.com ([209.85.214.49]:35748)

> by tommy.heliohost.org with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-

> SHA256:128)

> (Exim 4.89)

> (envelope-from )

> id 1dfDHM-0001XO-EZ

> for support@heliohost.org; Tue, 08 Aug 2017 15:47:20 -0700

> Received: by mail-it0-f49.google.com with SMTP id 76so11638390ith.0

> for ; Tue, 08 Aug 2017 15:46:52 -0700 (PDT)

> DKIM-Signature: v=1 a=rsa-sha256; c=relaxed/relaxed;

> d=gmail.com; s 161025;

> h=mime-version:from:date:message-id:subject:to;

> bh=wjS2VlT6ZJ9uj9OecHt1YZ02ZFJ97elWenUchxUuJ1o=;

> b=eIoPViwP7pktKsy8PRKZPqOhZBCuHJ09eQdP3/Fnz+

> JYSkImjJtkYyT10u9usFP1i

> JSMRR9GlVXxyS4tspOKTIIz10QzUwoWfBhCc2ESzJ0prUr+

> hf2cCLXauv3VS8Qxozd5h

> f/3fmwXsVW8ecAvCeNOTB3li1zmzr53bC+KInv5+

> NkN4wcK3TKDSfQA8KOyxDyHtToLV

> 0X1a3/SAvhfDJfTtOA40gyecvIEloq/tmK/hfWvY9F6OBjAH4/

> q3fBCuQIEvQsjsvdrL

> S6wCzuzZDiat/HumK0hAFGKa7x1kHFGmQlY1+

> rSXIjw4LFD5VLyt1zJYSUCfWE4rK7Vu

> NGeQ==

> X-Google-DKIM-Signature: v=1 a=rsa-sha256; c=relaxed/relaxed;

> d100.net; s 161025;

> h=x-gm-message-state:mime-version:from:date:message-id:subject:to;

> bh=wjS2VlT6ZJ9uj9OecHt1YZ02ZFJ97elWenUchxUuJ1o=;

> b=ueWY2jsRrdiJz0pdnRp+i6ncsENJzv+M7JIaNJOazkn2zFw/

> WJwMxlKLLnX8diURJy

> 0TZhafZWqCNFHxh2KAb0+v9JGLlAfXZsbjzAwF8CvctkIOlVg/

> ibkSZyj8NhI1ZIAGng

> SmUHM255zpFNmmBcvwews4K3xEx7CZB2obgc74Cxi0s4gLrvRuPElITTctWg

> JJBkmBtM

> 8WAroltCZGbp5+7NvdtrqMJWkA5+hVldN1HdZeIWrwvrQx13NY/

> Z26HJfWZPT+H/f9OY

> 38tsFKPDp0EvIkNXGrskMIw1iXuityioOpIKBvHJwzPEBNkyZGxP8aJS1sYD

> qZYawfT1

> v4bg==

> X-Gm-Message-State: AHYfb5iTP3cmNhnbU1ctM82mMuj16t

> AOANHs0qZ4w+IKWSoJasYPEAdI

> X+Ga8xDAXqHAGyczmm/tirjLBaDlNiqb

> X-Received: by 10.36.43.213 with SMTP id h204mr2372521ita.19.

> 1502232391473;

> Tue, 08 Aug 2017 15:46:31 -0700 (PDT)

> MIME-Version: 1.0

> Received: by 10.107.184.197 with HTTP; Tue, 8 Aug 2017 15:46:30 -0700 (PDT)

> From: muazzam mullah

> Date: Wed, 9 Aug 2017 00:46:30 +0200

> Message-ID: mail.gmail.com>

> Subject: Django application returning Error 500

> To: support@heliohost.org

> Content-Type: multipart/alternative; boundary="

> 001a11474cd210703f055645bcc0"

> X-Spam-Status: No, score=-1.5

> X-Spam-Score: -14

> X-Spam-Bar: -

> X-Ham-Report: Spam detection software, running on the system "

> tommy.heliohost.org",

> has NOT identified this incoming email as spam. The original

> message has been attached to this so you can view it or label

> similar future email. If you have any questions, see

> root\@localhost for details.

>

> Content preview: Hi,My Starter Django app is failing to work,i have set

> it

> up as told by heliohost on http://wiki.helionet.org/Django this page.

> Hi,My

> Starter Django app is failing to work,i have set it up as told by

> heliohost

> on http://wiki.helionet.org/Django this page. [...]

>

> Content analysis details: (-1.5 points, 5.0 required)

>

> pts rule name description

> ---- ---------------------- ------------------------------

> --------------------

> -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,

> no

> trust

> [209.85.214.49 listed in list.dnswl.org]

> -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)

> [209.85.214.49 listed in wl.mailspike.net]

> -0.0 SPF_PASS SPF: sender matches SPF record

> 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail

> provider

> (zmzmuazzammullah[at]gmail.com)

> -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%

> [score: 0.0000]

> 0.0 HTML_MESSAGE BODY: HTML included in message

> -0.1 DKIM_VALID Message has at least one valid DKIM or DK

> signature

> -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from

> author's

> domain

> 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not

> necessarily valid

> 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source

> [209.85.214.49 listed in dnsbl.sorbs.net]

> -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders

> X-Spam-Flag: NO

>

> --001a11474cd210703f055645bcc0

> Content-Type: text/plain; charset="UTF-8"

>

> Hi,My Starter Django app is failing to work,i have set it up as told

> by heliohost on

> http://wiki.helionet.org/Django this page.

>

> --001a11474cd210703f055645bcc0

> Content-Type: text/html; charset="UTF-8"

> Content-Transfer-Encoding: quoted-printable

>

> Hi,My Starter Django app is failing to work,i

> > have set it up as told by heliohost on ="http://wiki.helionet.org/Django">http://wiki.helionet.org/Django

> th> is page.

 

>

> --001a11474cd210703f055645bcc0--

>

>

Posted

It looks like you have an extra hello/ in your .htaccess file. The system is looking for public_html/hello/hello/dispatch.wsgi but you actually have it in public_html/hello/dispatch.wsgi The difference is probably in the tutorial in the wiki the django app runs in a subdirectory, but you're installing your django on your webroot instead.

Posted

i changed that line in the .htaccess file to

 

RewriteRule ^(.*)$ hello/dispatch.wsgi/$1 [QSA,PT,L]

 

I am now getting this error

 

Not Found

 

The requested URL / was not found on this server.

 

On Wed, Aug 9, 2017 at 5:11 AM, Heliohost Support

wrote:

 

> It looks like you have an extra hello/ in your .htaccess file. The system

> is looking for public_html/hello/hello/dispatch.wsgi but you actually

> have it in public_html/hello/dispatch.wsgi The difference is probably in

> the tutorial in the wiki the django app runs in a subdirectory, but you're

> installing your django on your webroot instead.

>

> You may view the status of your ticket by visiting:

>

> https://www.helionet.org/index/index.php?showtopic)196

>

> Thank you,

> Heliohost support

> https://www.heliohost.org/

> https://www.helionet.org/

>

>

Posted

In settings.py I changed DEBUG = False to DEBUG = True so now it shows the "It worked!" page instead of a 404. The reason it's showing a 404 though is because you haven't defined any urls in urls.py.

Guest
This topic is now closed to further replies.
×
×
  • Create New...