[mirror-admin] Gigabit NIC saturated.. Rewrite Rule trouble.
Matt Domsch
Matt_Domsch at dell.com
Fri May 16 16:37:29 EDT 2008
On Fri, May 16, 2008 at 03:46:30PM -0400, Voll, Toivo wrote:
> The config in httpd.conf is from
> http://fedoraproject.org/wiki/Infrastructure/Mirroring:
>
> RewriteEngine on
> RewriteCond %{HTTP:Range} [0-9]$
> RewriteRule .iso$ / [F,L,R=403]
>
> And here's the error:
>
> [root at ftp conf]# service httpd configtest
> Syntax error on line 303 of /etc/httpd/conf/httpd.conf:
> RewriteRule: invalid HTTP response code for flag 'R'
Right. R=403 doesn't make any sense; 403 is Forbidden; R is a
redirect, so R={300-399} would be valid if you're redirecting, or just
put the [F,L], and no R, if you're going to fail it.
--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
--
More information about the Mirror-admin
mailing list