JordanW
05-25-2008, 03:36 PM
I'm currently using:
RewriteEngine on
RewriteRule ^uploads/(.*)/(.*)/(.*)$ /home/interact/uploads/$1/MyDocuments/$2/$3 [NC,L]
Hoping to redirect a file to OUTSIDE of the public area of the site where the files are securely held. So typing:
http://subdomain.xx.com/uploads/[username]/[folder]/[song].mp3
would load /home/xxxx/uploads/[username]/MyDocuments/[folder]/[song].mp3
But I get a 404 Not Found error. Is the redirect going to: subdomain.xx.com/home/xxxx/uploads...?
Cheers guys,
~Jordan
RewriteEngine on
RewriteRule ^uploads/(.*)/(.*)/(.*)$ /home/interact/uploads/$1/MyDocuments/$2/$3 [NC,L]
Hoping to redirect a file to OUTSIDE of the public area of the site where the files are securely held. So typing:
http://subdomain.xx.com/uploads/[username]/[folder]/[song].mp3
would load /home/xxxx/uploads/[username]/MyDocuments/[folder]/[song].mp3
But I get a 404 Not Found error. Is the redirect going to: subdomain.xx.com/home/xxxx/uploads...?
Cheers guys,
~Jordan