mod_xsendfile icon indicating copy to clipboard operation
mod_xsendfile copied to clipboard

Multiple XSendFilePath?

Open strayer opened this issue 14 years ago • 0 comments

I tried to do this:

DocumentRoot "E:/dev/htdocs"
XSendFilePath W:/<project>/documents
<Directory "E:/dev/htdocs">
    [...]
    XSendFilePath W:/<project>/symfony_webfrontend/src/<project>/FrontendBundle/Resources/public
</Directory>

As specified in the documentation this should allow both paths to be accessed, but it looks like only the first one is working...

I'd suggest allowing multiple XSendFilePath definitions in general:

DocumentRoot "E:/dev/htdocs"
<Directory "E:/dev/htdocs">
    [...]
    XSendFilePath W:/<project>/documents
    XSendFilePath W:/<project>/symfony_webfrontend/src/<project>/FrontendBundle/Resources/public
</Directory>

strayer avatar Feb 22 '12 10:02 strayer