httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben Lihet <evil...@gmail.com>
Subject Re: [users@httpd] cgi http complete header
Date Thu, 16 Apr 2009 19:39:27 GMT
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 <covener@gmail.com>:
> On Thu, Apr 16, 2009 at 2:52 PM, Ruben Lihet <evilpus@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
> covener@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-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message