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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to