What happens is apache will hand the request for favicon over to mod_perl/scoop. mod_perl/scoop will then create a new session* for every single %$&* person who looks at your favicon.
This means photographica has been slashdotted by favicon. The site is SLOW as a dog, and it thinks there are thousands of people visiting the website. There are probably a bagillion new sessions in the database too.
There is a workaround - you can somehow get apache to go "oh, this request is for favicon.ico, lets NOT hand it over to mod_perl and just use the built in request handler". The thing is, I cant get the regex to work right.
Here is the config in apache, why doesn't this work?
<LocationMatch "^/(robots.txt|favicon.ico|backend.rdf|arsgraphica.rdf|read-comments.js|astrack.js|popup.js|toggle.js)">
SetHandler default-handler
</LocationMatch>
* Yes, new versions of scoop do not create sessions for unauthenticated users. I had to rip that out because I need a session for the shopping cart. Even still, the whole mod_perl mess must be invoked for every favicon.ico request and that isn't cool.
Update [2006-2-15 14:5:48 by coryking]: The solution:
<LocationMatch "robots\.txt|favicon\.ico|backend\.rdf|arsgraphica\.rdf|read-comments\.js|astrack\.js|popup\.js|toggle\.js">
SetHandler default-handler
</LocationMatch>
< Putting the fun in fundamental | BBC White season: 'Rivers of Blood' > |