thanks Javier! I switched it to port 8080 now. I have a "lighttpd/lighttpd.conf" with the following...
server.document-root = "/var/www" $HTTP["host"] =~ "(^|\.)mydomain\.com$" { fastcgi.server = ( "/var/www/mydomain.fcgi" => ( "main" => ( # Use host / port instead of socket for TCP fastcgi "host" => "my ip address", "port" => 8080, #"socket" => "/home/user/mysite.sock", #"check-local" => "disable", ) ), ) } But I also have a "lighttpd/conf-enabled/10-fastcgi.conf" file with the following.... server.modules += ( "mod_fastcgi" ) $HTTP["url"] =~ "^/cgi-bin/" { cgi.assign = ( ".py" => "/usr/bin/python" ) } ## Warning this represents a security risk, as it allow to execute any file ## with a .pl/.php/.py even outside of /usr/lib/cgi-bin. # cgi.assign = ( # ".pl" => "/usr/bin/perl", # ".php" => "/usr/bin/php-cgi", ".py" => "/usr/bin/python", ) Do I have the correct code in the right place or am I missing something out? On Jul 20, 7:52 pm, Javier Guerra Giraldez <jav...@guerrag.com> wrote: > On Wed, Jul 20, 2011 at 1:42 PM, Phil <phil...@gmail.com> wrote: > > if I can get a standard HTML to display on port 80 with lighttpd does > > that still mean I have to use a different port for fcgi? > > absolutely. > > the port used between the webserver and webapp must _not_ be the same > where the browsers connect to the webserver. > > -- > Javier -- You received this message because you are subscribed to the Google Groups "Django users" group. 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.