Hi, everyone, I just began to use cherokee since Friday. follow the
wonderful docs I've successfully setup php and the performance is
really good. Next step I look through the RoR with SCGI howto on wiki,
and have some questions on cherokee configuration:
Right now we configure handler on 3 type uri: Directory, Extension and
Request. As the demonstration config shows we use file handler to take
care "/public" and scgi to pass general request to scgi backend. OTOH,
while develop webapp with buildin webrick server, the DocumentRoot is
set to $RAILS_ROOT/public, this kind of inconsistency means extra work
to be done when deploy rails application on the production
server(mainly to take care of static file url).
I tried to configure two handler on the same directory: first scgi,
then file handler, it seems that the latter handler get highter
priority. This is close to what I need, however I cannot setup a 404
error handler to trap scgi get involved. I search the mail archive a
bit, without much success. Any suggestion on this matter? What's the
equivalent of server.error-handler-404 in lighttpd?
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to