nmaier/mod_xsendfile — Issue #12: Not working using mod_rewrite links
Author: mega023
Created: 2012-02-14 00:40:17+00:00
State: open

Hello,

I am having issues running XSendFile on Apache when using mod_rewrite to have custom download links.

For example download works when url is like http://www.site.com/dl1.php?x=parameters
but doesn't work when having http://www.site.com/download/parameters/
and that is processed using mod_rewrite to

RewriteRule ^download/(.*)/$	download.php?x=$1 [QSA,L]

In my httpd.conf I have line "XSendFile On" and Apache was restarted...
I have also added that in .htaccess too but no success...

Can someone help me out on this one?

Best Regrards,
Tim