View Single Post
Old 09-21-2012, 11:50 AM   #120
trogdan
Junior Member
trogdan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2012
Device: Android
Success!

Thanks Vlad

i just changed the root to /var/www, and changed the rewrite tool to

Code:
rewrite ^/download/(\d+)/.*\.(.*)$ /opds/fetch.php?data=$1&type=$2 last;
and it just worked! I was changing the php location as well, which was probably screwing me up.
trogdan is offline   Reply With Quote