It seems to print that no matter what but it is not actually using that port.  I use this setup with Apache and the asynocore based scgi_server I wrote for windows which I think is a little less insane than the pre-forking version. Now if your application still thinks it running under that port than something else might be wrong.  I would try it like we have it fast track using a port first and see if it works ok.

On 3/30/06, venkatbo <[EMAIL PROTECTED]> wrote:

Hi,

I was able to install 0.9a2 TG on i686 and generate a quickstart app.
I'm trying to frontend TG (CP) with lighttpd (FastCGI/SCGI/flup) where
lighttpd is on the usual port 80, and CP is set (in lighttpd.conf ) to
be on "host":127.0.0.1 and "scoket_file":"/tmp/fcgi.sock"...

I'm following the instructions on:
   http://www.turbogears.org/docs/deployment/lighttpd.html#scgi
but, basically using the UDS "/tmp/fcgi.sock" instead.

When I bring up my app:
   python start-myapp-fastcgi.py dev.cfg
I see the following msgs in the term (and also in server.log)
   ...
   30/Mar/2006:10:10:21 CONFIG INFO   server.socket_host:
   30/Mar/2006:10:10:21 CONFIG INFO   server.socket_port: 8080
   30/Mar/2006:10:10:21 CONFIG INFO   server.socket_file:
/tmp/fcgi.sock
   30/Mar/2006:10:10:21 CONFIG INFO   server.reverse_dns: False
   ...

I know, by default, CherryPy (installed in
...../lib/python2.4/site-packages/.....)
is set to listen on 8080, but why isn't that option turned off when id
I'm
attempting to use the UDS option via (lighttpd.conf and ) WSCGIServer:
    ...
    from flup.server.fastcg import WSGIServer
    ...
    WSGIServer(application=wsgiApp, bindAddress="/tmp/fcgi.sock").run()

    ...

I wouldn't want anyone accessing the dynamic content (TG-served)
site via: http://fqdn:8080, rather, want http://fqdn/login to execute
the
login.kid template and generate the login page...

Thanks,
/venkat






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to