Jump to content

Recommended Posts

Posted

Hi,

 

I am trying to deploy a Django app in Johnny. But when I access my_domain.heliohost.org/, I get "Internal Server Error". I have checked the ErrorLog at the first time (accessed through cPanel) and seen the following:

"

[Fri Mar 20 06:34:14 2015] [error] [client 200.148.44.244] File does not exist: /home/pedrovgp/public_html/404.shtml

[Fri Mar 20 06:34:14 2015] [error] [client 200.148.44.244] File does not exist: /home/pedrovgp/public_html/favicon.ico

[Fri Mar 20 06:34:14 2015] [error] [client 200.148.44.244] File does not exist: /home/pedrovgp/public_html/404.shtml

[Fri Mar 20 06:34:14 2015] [error] [client 200.148.44.244] File does not exist: /home/pedrovgp/public_html/favicon.ico

"

 

I have added the above mentioned files, but I keep getting the same Error, and the ErrorLog shows me only those four messages, no matter how many times a try to access the url.

 

I have followed instructions from HelioHost and from this url: http://www.thebrokendesk.com/post/deploying-a-django-site-to-heliohost/

 

I appreciate any help!

 

Best regards,

Pedro

Posted

OK, solved through editing .htaccess.

The last line was

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

and I changed to

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

 

and moved dispatch to public_html folder.

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