> However, since I'm getting these issues as a direct result of using the
> tutorial example (and at one point I even created all the same
> directories and used the example code line-for-line just to make sure),
> I feel like there must be a common, canonical solution to these issues.

There is, but you may not like it: don't put your images there.

The common approach I've seen is to have a separate Location that doesn't
map directly to the file system and exists only to drive this mod_perl
handler.  It's also a good practice to organize your images in a separate
directory so that you can easilly serve them from a dedicated image server
later on.

Also, you really should turn off auto indexes anyway on a production server.
It's a security problem.

- Perrin



Reply via email to