Op maandag 18 juli 2011 20:29:03 UTC+1 schreef Phil het volgende:
>
> Hi, 
>
> I have an ubuntu server, django is fully installed and working, 
> lighttpd is installed and working(works with standard html page), but 
> I am not sure how to get them talking to each other? 
>
> It is my first time putting a django site onto a live server so any 
> help is appreciated. I'm used to a php "stick everything into webroot" 
> setup. 
>
> I have the following in my lighttpd.conf file as mentioned on django 
> website.... 
>
> server.document-root = "/var/www" 
> fastcgi.server = ( 
>     "/mysite.fcgi" => ( 
>         "main" => ( 
>             # Use host / port instead of socket for TCP fastcgi 
>             "host" => "my ip address", 
>             "port" => 80, 
>             #"socket" => "/home/user/mysite.sock", 
>             "check-local" => "disable", 
>         ) 
>     ), 
> ) 
>
>
> At present all that is doing is loading my html page in my webroot. I 
> have restarted lighttpd and all. But not sure how it see's django 
> project? 
>
> Thanks. 
>
>
See the very good documentation on FastCGI setup:
https://docs.djangoproject.com/en/1.3/howto/deployment/fastcgi/
- it even has a section specifically on lighttpd. 
--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/WcA5odzyAAQJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to