Running Django on a Shared-Hosting Provider with Apache

2011-07-20 Thread Rick Beacham
Running Django on a Shared-Hosting Provider with Apache When i go to run the mysite.fcgi it prints out itself in the browser..Is there something wrong here? I have followed the steps to the tee.. http://localhost/mysite.fcgi print out this: import sys, os # Add a custom Python path

Re: Running Django on a shared-hosting provider with Apache in fcgi mode

2008-11-25 Thread Oleg Oltar
Aha, the 500 Error was template missconfiguredNow I am getting my homeage printed in console when running command, but still need to ser WSGI PARAMS Please help On Tue, Nov 25, 2008 at 8:43 PM, Oleg Oltar <[EMAIL PROTECTED]> wrote: > Also > [EMAIL PROTECTED] ~/TECHNOBUD $ python manage.py r

Re: Running Django on a shared-hosting provider with Apache in fcgi mode

2008-11-25 Thread Oleg Oltar
Also [EMAIL PROTECTED] ~/TECHNOBUD $ python manage.py runfcgi > text.txt WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI par

Re: Running Django on a shared-hosting provider with Apache in fcgi mode

2008-11-25 Thread Oleg Oltar
Well, when I am trying to do it, I am getting 500 Error (shown in console) Status: 500 INTERNAL SERVER ERROR Content-Type: text/html http://www.w3.org/TR/html 4/loose.dtd"> TemplateDoesNotExist at /

Re: Running Django on a shared-hosting provider with Apache in fcgi mode

2008-11-25 Thread Alex Koshelev
You have to start FastCGI demon that will handle request. For example by using `./manage.py runfcgi` command On Tue, Nov 25, 2008 at 20:47, Oleg Oltar <[EMAIL PROTECTED]> wrote: > Hi! > > I have a shared hosting. Need to place there my django application. I > created ./.htaccess in my root direct

Running Django on a shared-hosting provider with Apache in fcgi mode

2008-11-25 Thread Oleg Oltar
Hi! I have a shared hosting. Need to place there my django application. I created ./.htaccess in my root directory which contains following [EMAIL PROTECTED] ~ $ cat ./http/.htaccess AddHandler fastcgi-script .fcgi RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ mysite.fcgi