I have this situation:
Inside FOLDER I have one file getting content from other folder outside of it.
I need to get all traffic like "http://www.site.asd/folder/data1/data2/data3/data4.ext" and get this call "http://www.site.asd/folder/file.php?d1=data1&d2=data2&d3=data3&d4=data4.ext" without changing URL
This is what I made... and isn't working... :'(
RewriteEngine On
RewriteRule ^/folder/([^/]+)/([^/]+)/([^/]+)/(.*)$ /folder/file.php?d1=$1&d2=$2&d3=$3&d4=$4 [L,QSA]
Any advice/solution to make this work?
Thanks to all!