Octavian_Hornoi
Jul 15, 2008Nimbostratus
Renaming File In Transit
One of our partners is hosting a web page where users can select which songs (mp3s) they want to purchase and then after they purchase the mp3 they can click on a link and download them.
The problem we are running into is that each download link is a tokenized URL in our system such as:
http://download-ourdomain.com/GetFile?token=fjkl;d6y4re392fjfdkafdsa;
When the user receives the download, the filename in the browser is set to the token number and it looks like garbage (fjkl;d6y4re392fjfdkafdsa;.mp3). Obviously, we would like to fix this.
We were considering perhaps passing in an additional parameter to the BigIP that it could then interpret and rename the file in transit:
http://download-ourdomain.com/GetFile?filename=99_red_balloons.mp3&token=fjkl;d6y4re392fjfdkafdsa;
In this case, the BigIP would strip "filename=99_red_balloons.mp3" from the URL, request the file from the server behind it and then return the file to the requesting browser as "99_red_balloons.mp3".
Is this even possible? If it is, how would we go about doing it?
Thanks!