> On Wed, Mar 11, 2015 at 1:25 PM, David E. Wheeler
> wrote:
>
> > On Mar 11, 2015, at 9:59 AM, David E. Wheeler
> > wrote:
> >
> > > # Set the filename.
> > > my $file = File::Spec->catfile($sub_root, substr $r->uri, 1);
> > > $r->filename($file);
> > > $r->finfo(APR::Finfo::
On Mar 11, 2015, at 10:39 AM, Lathan Bidwell wrote:
> That is very curious. What was in path_info before? Is this a difference
> between undef and ""? Because path_info shouldn't be involved in finding the
> file, unless Apache is configured to ignore path info. And even that doesn't
> make se
On Wed, Mar 11, 2015 at 1:25 PM, David E. Wheeler
wrote:
> On Mar 11, 2015, at 9:59 AM, David E. Wheeler
> wrote:
>
> > # Set the filename.
> > my $file = File::Spec->catfile($sub_root, substr $r->uri, 1);
> > $r->filename($file);
> > $r->finfo(APR::Finfo::stat($file, APR::Co
On Mar 11, 2015, at 10:15 AM, Lathan Bidwell wrote:
> I am not an expert at this, so I don't have an answer.
Thanks for your reply, I appreciate it.
> But I can suggest a few debugging steps to clear out of the way:
>
> 1) Confirm that your document root is showing properly in the error log
>
On Mar 11, 2015, at 9:59 AM, David E. Wheeler wrote:
> # Set the filename.
>
> my $file = File::Spec->catfile($sub_root, substr $r->uri, 1);
> $r->filename($file);
> $r->finfo(APR::Finfo::stat($file, APR::Const
David,
I am not an expert at this, so I don't have an answer.
But I can suggest a few debugging steps to clear out of the way:
1) Confirm that your document root is showing properly in the error log
Does the error log report "/var/html/foo/bar.html" is not found, or does it
only show the reques
On Mar 6, 2015, at 5:29 PM, David E. Wheeler wrote:
> And now it works just how I want.
I take it back. It works for files in the root, but not subdirectories.
So say my document root is /var/html, and a request comes in for /foo/bar.html.
Apache has mapped it to /var/html/foo/bar.html, but in