Hello,
There are several proxy servers that for some reason try every night to
download some gif files that do not exist on my site.
They make about 70 requests on the same second and that''s not good to
my
application
I was trying to use url.access-deny to deny the access to the unexisting gif
files, but for some reason it does not work (meaning that I still see the
request in the production.log file)
Any suggestion is welcome.
Below are some snipets from my lighttpd.conf file
server.modules = ( "mod_rewrite",
"mod_access","mod_fastcgi",
"mod_accesslog" )
$HTTP["url"] =~ "^/javascripts/" {
url.access-deny = ( ".gif")
}
fastcgi.server = ( ".fcgi" =>
( "localhost" =>
(
"min-procs" => 3,
"max-procs" => 9,
"socket" =>
"/home/avirtual/railsData/log/fcgi.socket",
"bin-path" =>
"/home/avirtual/railsData/public/dispatch.fcgi",
"bin-environment" => ( "RAILS_ENV" =>
"production" )
)
)
)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060216/bb56c9d0/attachment.html