[sf-perl] mod_perl and DocumentRoot question

Bill Moseley moseley at hank.org
Fri Mar 9 07:35:53 PST 2007

On Thu, Mar 08, 2007 at 04:43:09PM -0800, Quinn Weaver wrote:
> The problem is that Apache expects me to have a path in my DocumentRoot
> for each URL I support.  For instance, if I have
> http://www.example.com/foo/bar/
> http://www.example.com/batz/
> Then it expects there to be directories
> /var/www/foo/bar
> /var/www/batz

That shouldn't be true.  When you say "expects" does that mean Apache
is generating an error if they do not exist?

If Apache is hitting the disk when you think it shouldn't then perhaps
strace might be useful to easily see why it's doing that.

Bill Moseley
moseley at hank.org

More information about the SanFrancisco-pm mailing list