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
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
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
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 /
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
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
6 matches
Mail list logo