I did it on Apache with mod-python. The problem I ran into was that I
couldn't deploy Django to the root of my site and still serve up other
content. I ended up having trac and my Django site sitting in
subdirectories, /trac and /home respectively. If I want I can use mod-
rewrite or something to send a request for / to /home and then
browsing will be normal at that point.
On Sep 13, 5:19 am, est <[EMAIL PROTECTED]> wrote:
> Could I install django onwww.xxx.comwhile trac nicely onwww.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
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---