Hi,
 I am trying hard to figure out why my lighttpd + fastcgi + django
setup  is not working.
 First, I have verified my django project is OK by running it with the
local web server provided by django.

 To setup lighttpd, I followed the setup instructions from here:
http://wiki.slicehost.com/doku.php?id=install_django

 and lighttpd is running as,
/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf

manage.py running as (started with sudo),
python manage.py runfcgi method=prefork host=127.0.0.1 port=3456
pidfile=django.pid maxchildren=1 maxspare=1 outlog=/home/venkat/tmp/
fcgi.out errlog=/home/venkat/tmp/fcgi.err --traceback

My fastcgi config is (added at the end of conf file),
fastcgi.debug = 1
fastcgi.server = (
    "/django.fcgi" => (
        "main" => (
            "host" => "127.0.0.1",
            "port" => 3456,
       )
     ),
    "/admin.fcgi" => (
        "admin" => (
            "host" => "127.0.0.1",
            "port" => 3457,
       )
     )
)
url.rewrite-once = (
    "^(/media.*)$" => "$1",
    "^/favicon\.ico$" => "/media/favicon.ico",
    "^(/.*)$" => "/django.fcgi$1",
)


The modules part (at the top of the file):
server.modules              = (
            "mod_access",
            "mod_alias",
            "mod_accesslog",
            "mod_compress",
            "mod_rewrite",
            "mod_fastcgi",
#           "mod_redirect",
            "mod_status",
#           "mod_evhost",
#           "mod_usertrack",
#           "mod_rrdtool",
#           "mod_webdav",
#           "mod_expire",
#           "mod_flv_streaming",
#           "mod_evasive"
 )

and the debug options:
## send unhandled HTTP-header headers to error-log
#debug.dump-unknown-headers  = "enable"
debug.log-request-header = "enable"
debug.log-request-header-on-error = "enable"
debug.log-response-header = "enable"
debug.log-file-not-found = "enable"
debug.log-request-handling = "enable"
debug.log-condition-handling = "enable"

And lighttpd log files:
## where to send error-messages to
server.errorlog            = "/var/log/lighttpd/error.log"

### accesslog module
accesslog.filename         = "/var/log/lighttpd/access.log"


Also, I had set debug=True in settings.py


After all this, there is no log getting generated anywhere.
(i.e. in any of the log files, .err file, .out file).


When I request the home page like,
links 'http://127.0.0.1:3456/'

It says, 'Request Sent' and times out.


I am totally clueless.
Can someone help me?

Thanks,
Venkat

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to