I've written an "analytics" interceptor to capture stats about my app.
And I can seem to figure out why in my preProcess() when I call
arguments.event.getCurrentEvent() its capturing my /includes/styles
directory as a requested event!? More precisely it's capturing it as
an event: package.includes.styles
I've also noticed this else where when I'm doing exception handling
I'll get random errors coming from this event...
I have seen that before with rewrites an Ajax requests sometimes. Hard to track. I would setup a dev interceptor that runs at preprocess as the firt one and logs incoming requests with path info cgi query etc.
Of course, /css/styles.css is supposed to be relative to the root. With almost no exception, when I look at the user agent, it is a bot or blank (a bot). It seems to always be related to some poor attempt to spider my site.
I can see how absolute URLs would help, because then the poorly-coded bots won't be trying to guess how the paths work.
I can’t speak for the OP, but my site uses the default robots.txt that came with CB. I kind of figure the kind of nameless, sleazy bots that can’t figure out relative paths probably don’t pay attention to robot.txt files anyway though.