Re: How Do I change the Document Root Per Request

"David E. Wheeler" <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Mar 3, 2015, at 11:34 AM, David E. Wheeler <[email protected]> wrote:

> I managed to get a little further by switching from PerlFixupHandler to PerlTypeHandler. I still get some 404s for files, but all the directories serve properly. As it happens, I have a response handler that handles directory requests, but it declines file requests. I assume, then, that the default Apache response handler doesn’t know that I’ve updated the filename. Is there some way to get it to do that?

And now I got it to work. The key was to add.

    PerlMapToStorageHandler Apache2::Const::OK

Otherwise it just fails super early. By adding this line, I am able to freely set the filename later.

Thanks,

David
smime.p7s (application/pkcs7-signature, 4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.