Could I install django on www.xxx.com while trac nicely on www.xxx.com/trac/
?

My lighttpd.conf is something like this but it is not working

$HTTP["host"] == "labs.dormforce.net" {
        server.document-root = "/srv/dormlabs/django-projects/labtest"
        fastcgi.server = (
                "/django-projects.fcgi" => (
                        "main" => (
                                # Use host / port instead of socket for TCP 
fastcgi
                                # "host" => "127.0.0.1",
                                # "port" => 3033,
                                "socket" => "/home/est/django-projects.sock",
                                "check-local" => "disable",
                        )
                ),
        )
        alias.url = (
                "/media/" => "/srv/dormlabs/django-projects/media/",
        )

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



$HTTP["url"] =~ "^/trac/.*$" {

        fastcgi.server += ("/trac" =>
                ("trac" =>
                        (
                        "socket" => "/tmp/trac-fastcgi.sock",
                        "bin-path" => 
"/opt/trac-0.10.4/share/trac/cgi-bin/trac.fcgi",
                        "check-local" => "disable",
                        "bin-environment" =>  ("TRAC_ENV" =>
                                "/srv/dormlabs/trac")
                        )
                )
        )
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to