in reply to webserver common log format file script
Assuming that $values[6] calls the requested URL, the regex isn't restricted to file endings, you can just as well match m{^/ict/viewtopic\.php} or so.