Anthony2oo4
08-25-2006, 04:59 PM
hey im just starting to learn about mod_rewrite and so far i came up with this:
Options +FollowSymLinks
RewriteEngine on
RewriteRule File/(.*).html$ uploadedfileshere/$1
I want to be able to enter:
File/billing.zip.html
and it will go to a directory called
uploadedfileshere/billing.zip
which it does do, but when downloading billing.zip, it seems to be called billing.zip.html. How can I tell the code that I dont want the .html part to be added?
Thanks
Options +FollowSymLinks
RewriteEngine on
RewriteRule File/(.*).html$ uploadedfileshere/$1
I want to be able to enter:
File/billing.zip.html
and it will go to a directory called
uploadedfileshere/billing.zip
which it does do, but when downloading billing.zip, it seems to be called billing.zip.html. How can I tell the code that I dont want the .html part to be added?
Thanks