RewriteRule with .flv extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm dealing with something odd and I can't figure out what to make of
it - I have the following rewrite rule:

RewriteRule
^([0-9]+)/([a-z0-9]+)/get_flash\.php$ /get_file.php?id=$1&flash=1&key=$2
[L]

then a URL liks this /123/2313412sdfsdf/get_flash.php works fine.

BUT if I change my rule to this (swapping .php for .flv):

RewriteRule
^([0-9]+)/([a-z0-9]+)/get_flash\.flv$ /get_file.php?id=$1&flash=1&key=$2
[L]

a URL like this: /123/2313412sdfsdf/get_flash.flv does NOT work. 

I turned on the rewrite log and for the .flv the URI it's checking is
always ''.  For .php it's 123/2313412sdfsdf/get_flash.php.  If I
clear the rewrite log and run the .flv URL/Rewrite 2313412sdfsdf is
not even in the rewrite log, but if I change to .php in Rewrite and
run the .php URL, 2313412sdfsdf is in the log - I don't get why a
simple extension change causes this.  "flv" is not in the apache conf
directory anywhere.

Any suggestions?  I'm stumped and need a .flv URL extension for a
dumb flash app to work.....

Apache 2.2.3-4+etch6

Thanks,

Josh

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux