Yep, thats exactly what I needed. And it's very logical. When a range
request is made, mod_rewrite sets an environment variable with the
corresponding value. Thanks! Problem solved.

2009/4/16 Eric Covener <cove...@gmail.com>:
> On Thu, Apr 16, 2009 at 2:52 PM, Ruben Lihet <evil...@gmail.com> wrote:
>> Where do I have to put the dash "-" ? In this rule:
>>
>> RewriteRule ^([^/\.]+)/?$ nph-main.cgi?lid=$1&header=%{HTTP:Range}
>
>
> I don't really follow what you're doing with the rule, but I was
> thinking more like:
>
> RewriteCond %{HTTP:Range} (.*)
> RewriteRule nph-main.cgi - [E=MYRANGE:%1]
>
> --
> Eric Covener
> cove...@gmail.com
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to