So I'm rewriting
http://slyph.org/music/kylelandry/vi...asie_Impromptu to
http://slyph.org/music/kylelandry/vi...sie_Impromptu/ , though I can't get it to work if the htaccess'd url is missing an end slash.
Here's the contents of my .htaccess,
Code:
Options +FollowSymLinks
RewriteEngine on
ReWriteBase /music/kylelandry/video/
RewriteRule play/(.*)/ index.php?play=$1
RewriteRule play/(.*) index.php?play=$1
I'd have thought the last line would have made requests without the end slash (
http://slyph.org/music/kylelandry/vi...asie_Impromptu for example) work fine, though it just comes back with the error I made my script spit out when the video request doesn't match an array of all the videos there.
Going to investigate further, though I'm not sure what I'm going to do, as that htaccess looks perfect to me
[edit] Ok, I updated my script so that if it
is a bad request then it'll echo what the request was, and it looks like the / in my variables is fucking with it. When requesting one without the end /:
|
Quote:
Invalid Video selected!
(testing, request was "Classical")
|
Uhh,
Jam it back in, in the dark.