At 10:18 AM -0800 2/18/02, Chris Wilkes wrote: >Put something like this in your httpd.conf file to clean up the logs: > > SetEnvIf Request_URI \.exe$ ms_bs > SetEnvIf Request_URI \.dll$ ms_bs > SetEnvIf Request_URI \scripts\/\.\. ms_bs > SetEnvIf Request_URI \default.ida ms_bs > > CustomLog /var/log/httpd-access.log combined env=!ms_bs > CustomLog /var/log/httpd-MS-access.log combined env=ms_bs > >For some reason that's not catching all the default.ida's going through >to my apache server.
I think "\d" does something completely different than you might expect. The "\." is escaping the dot, to make it "dot", not "any character" (it's a regex after all). I think you want to get rid of the \ before s and d in the last two examples... D -- +---------------------+-----------------------------------------+ | [EMAIL PROTECTED] | "Thou art the ruins of the noblest man | | Derek J. Balling | That ever lived in the tide of times. | | | Woe to the hand that shed this costly | | | blood" - Julius Caesar Act 3, Scene 1 | +---------------------+-----------------------------------------+