<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello !<br>
<br>
Im asking for some help ...<br>
<br>
I followed the instructions on
<a class="moz-txt-link-freetext" href="http://fedoraproject.org/wiki/Infrastructure/Mirroring">http://fedoraproject.org/wiki/Infrastructure/Mirroring</a> to redirect ISO
files requested by HTTP (GET) to my FTP server, buy it doesn't work
anyway.<br>
<br>
RewriteCond %{REQUEST_METHOD} GET<br>
RewriteRule ^(.*\.iso)$ <a class="moz-txt-link-freetext" href="ftp://myserver/$1">ftp://myserver/$1</a> [L,R=301] <br>
<br>
I've already loaded the rewrite_mod.so in my httpd.conf I don't know
what else I have to do, some of my virtual host config is qouted below,
thanx in advance.<br>
<br>
Im running on httpd apache 2.2.8, FC 8 i386.<br>
<br>
------------------------------------------------------------<br>
httpd.conf :<br>
<br>
<font face="Courier New, Courier, monospace">LoadModule rewrite_module
modules/mod_rewrite.so</font><br>
<br>
<font face="Courier New, Courier, monospace"><VirtualHost *:80><br>
DocumentRoot "/var/www/virtual/fedora"<br>
ServerName fedora.ifc.unam.mx<br>
<Location /><br>
Options Indexes<br>
</Location><br>
<br>
AddType application/octet-stream .iso<br>
AddType application/octet-stream .rpm<br>
<br>
</VirtualHost><br>
<br>
# Redirecting ISO downloads to FTP<br>
#<br>
RewriteCond %{REQUEST_METHOD} GET<br>
RewriteRule ^(.*\.iso)$ <a class="moz-txt-link-freetext" href="ftp://fedora.ifc.unam.mx/fedora/$1">ftp://fedora.ifc.unam.mx/fedora/$1</a>
[L,R=301]<br>
<br>
# Limiting Download Accelerators<br>
#<br>
<IfModule mod_limitipconn.c><br>
MaxConnPerIP 6<br>
</IfModule><br>
<br>
RewriteEngine on<br>
RewriteCond %{<a class="moz-txt-link-freetext" href="HTTP:Range">HTTP:Range</a>} [0-9]$<br>
RewriteRule \.iso$ / [F,L,R=403]</font><br>
</body>
</html>