I am running web.py under fastcgi under lighttpd. all is working fine-
except in one place I call

raise web.seeother('/view/'+md5)

when this runs on my local dev instance it is fine, it redirects to
http://localhost:8080/view/md5

But on the fastcgi hosted one, it goes to http//remote.host.com/
webapp.py/view/md5

It still works fine, but is unsightly. http://remote.host.com/view/md5
works fine too, and it should redirect to that. Any ideas why this is
happening?

My 10-fastcgi.conf is

server.modules   += ( "mod_fastcgi" )
server.modules   += ( "mod_rewrite" )

 fastcgi.server = ( "/webapp.py" =>
     ((
        "host" => "127.0.0.1",
        "port" => 9080,
        "check-local" => "disable"
    ))
 )

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



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