httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suba Arunkumar <subala...@yahoo.com>
Subject [users@httpd] Rewrite rule for Apache1.3, Mandrake9.1
Date Wed, 04 Jun 2003 05:30:17 GMT
I am using Mandrake 9.1 with apache 1.3, i have
implemented the below listed rewrite condition and it
does't work. I have updated this rule in
commonhttpd.conf, httpd.conf, httpd-perl.conf,
vhosts.conf but it doesn't work. can any one please
help me to identify what is wrong. I used the same
settings in Redhat 9.0 apache 2.0 and it works fine.

<Directory "/var/www/html/test/mp3">
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER}
!^http://(www\.)?website.com/.*$ [NC]
RewriteRule \.(mp3|m3u)$
http://www.website.com/copy.html [R,L]
</Directory>


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.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


Mime
View raw message