But would that still work if people are linking to my pictures from other sites?
Of course. The only difference between an internal redirect, and an external redirect to the same server,
is that the former is a lot easier load on your system.
An external redirect will change the visible URL in
the browser as well, but on an image, that's much harder
to see. The net effect is that all "missing images"
on your site will deliver the ugly picture as content, as controlled by the rest of the logic. (I did the same
thing myself once... putting up a COWBOYS SUCK graphic
to replace someone's deep-linked image from a Dallas Cowboy's fan-site.... they changed it pretty quick.)
The rest of the code should be left the same (although
only because I'm resisting the temptation to rewrite it).
-- Randal L. Schwartz, Perl hacker
| [reply] |
Eh, if you're logging actions, but the size of the generated
logs is a problem, wouldn't the simplest solution not be to
not generate those logs?
Abigail | [reply] |
I'm not logging actions, I'm just logging 404 errors - so that I can find out if there's anything going wrong.
| [reply] |