On 11/27/06, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> >> If anyone has questions about how to do this let me know.
> >
> >
> > I for one, would VERY MUCH like to know how to do that.
> >
> > My django app has a downtime of 2 weeks now, because of the "incomplete
> > headers" :(
>
> and btw. are you sure that Dreamhost allows running long-running
> processes like lighttpd?

Lets hope so! :)

OK, I've built lighttpd and got it running with the basic
configuration + the lines from
http://www.djangoproject.com/documentation/fastcgi/#lighttpd-setup

Now, how do I get Apache to redirect all requests to my lighttpd server?

ATM, if I go to "http://localhost:8484/django.fcgi"; I only get "403
Forbidden" response.

Any suggestions?

Best regards,
Uros

PS: This is my lighttpd.conf (with sensitive data omitted):

server.document-root = "/home/username/mydomain/"

fastcgi.server = (
        "/django.fcgi" => (
                "main" => (
                        "socket" => "/home/hostname/my.sock",
                        "check-local" => "disable",
                )
        ),
)

alias.url = (
        "/amedia/" =>
"/home/username/django/django_src/django/contrib/admin/media/",
        "/media/" => "/home/username/mydomain/media/",
)

url.rewrite-once = (
        "^(/amedia.*)$" => "$1",
        "^/favicon\.ico$" => "/media/favico.ico",
        "^(/.*)" => "/django.fcgi$1",
)

server.port = 8484

server.username = "username"
server.groupname = "group"

mimetype.assign = (
  ".html" => "text/html",
  ".txt" => "text/plain",
  ".jpg" => "image/jpeg",
  ".png" => "image/png"
)

static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" )
dir-listing.activate = "enable"

--~--~---------~--~----~------------~-------~--~----~
 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