pedrovgp Posted March 20, 2015 Share Posted March 20, 2015 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 Link to comment Share on other sites More sharing options...
pedrovgp Posted March 20, 2015 Author Share Posted March 20, 2015 OK, solved through editing .htaccess.The last line wasRewriteRule ^(.*)$ my_app/dispatch.wsgi/$1 [QSA,PT,L]and I changed toRewriteRule ^(.*)$ dispatch.wsgi/$1 [QSA,PT,L] and moved dispatch to public_html folder. Link to comment Share on other sites More sharing options...
Recommended Posts