Hi I'm basically trying to access multiple web.py apps on my
localhost. I already defined the urls in my /etc/hosts file. And my
lighttpd.conf contains this:

$HTTP["host"] =~ "^vcfpy.localhost" {
 evhost.path-pattern = "/home/mathew/vcfkids-py/"
 fastcgi.server = ( "/application.py" =>
  (( "socket" => "/tmp/fastcgi.socket",
   "bin-path" => "/home/mathew/vcfkids-py/application.py",
   "max-procs" => 1,
   "bin-environment" => (
     "REAL_SCRIPT_NAME" => ""
   ),
   "check-local" => "disable"
 ))
 )

 url.rewrite-once = (
 "^/favicon.ico$" => "/static/favicon.ico",
 "^/static/(.*)$" => "/static/$1",
 "^/(.*)$" => "/application.py/$1"
 )
}

$HTTP["host"] =~ "^tuplepy.localhost" {
 evhost.path-pattern = "/home/mathew/tuple_py/"
 fastcgi.server = ( "/app.py" =>
  (( "socket" => "/tmp/fastcgi.socket",
   "bin-path" => "/home/mathew/tuple_py/app.py",
   "max-procs" => 1,
   "bin-environment" => (
     "REAL_SCRIPT_NAME" => ""
   ),
   "check-local" => "disable"
 ))
 )

 url.rewrite-once = (
 "^/favicon.ico$" => "/static/favicon.ico",
 "^/static/(.*)$" => "/static/$1",
 "^/(.*)$" => "/app.py/$1"
 )
}

My problem is that when I access tuplepy.localhost. I can see the
template files I defined in my vcfpy.localhost app! The header css I
set for vcfpy.localhost, I can see it in tuplepy.localhost. That is
not supposed to happen. It is as if lighty is confusing the two. Any
thoughts on how to solve this problem?

Thanks,
Mathew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to