Jump to content

rewritting a 'clean' url to a dynamic flash file


kc8yds

Recommended Posts

hi

I've been working on making improvements to my site the last few days

 

a few of the changes are fixing short cuts that I have taken in the past 'just to make it work'

 

 

the whole site uses rewrite urls to keep the urls 'clean' and simple to use.

 

 

the one problem I run into is this

 

RewriteRule ^mediaplayer/([0-9]+)/$ /_mediaplayer.swf?PlayListSpace=$1

 

 

it does not pass the value on to the flash file like it would with any other php file with a rewrite

 

 

so what I did was

 

RewriteRule ^mediaplayer/([0-9]+)/$ /_mediaplayer.swf?PlayListSpace=$1 [R]

 

and just made the clean url redirect to the ugly url

 

 

I would like to find the reason that the original without redirecting and just rewriting it will not work

 

this same method works for all the php files just fine, but for the swf file it will not pass the variable along

 

 

I have searched through apache's own website as well as google and could never find an explaination for what would cause this to happen.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.