On 27/02/2010, at 22:41, Voltron wrote: > I have 2 information sources served on different ports using the > reverse -proxy method. I have started the process from the folder "/ > web-data" and not /var/www. The static files also live in the /web- > data folder. My questions are: > > 1. Should I set the final flag to each folder under media as below > > /web-data/media/css final > /web-data/media/js final > /web-data/media/images final > > or would a single line like : > > /web-data/media > > suffice?
Setting /web-data/media to use the "Static content" handler would be enough. If you do not want to apply any further rules (in the Behavior rules list) to the requests targeting that directory, just configure the rule as final. It will save a few evaluation and will make you server slightly faster. Odds are you want the rule to be 'final'. > 2. Why do each of my virtual hosts show "2 domains" instead of one? I > have only set the virtual host to answer requests to the regex > *mydomain.com The virtual server's nickname is also used as a target name. -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
