I want these:
sharedacct/public_html/sample/home.htm
sharedacct/public_html/sample/pic.jpg
sharedacct/public_html/sample/sub/home.htm
sharedacct/public_html/sample/sub/pic.png
redirected to here:
sharedacct/non_public/code/sample.php?relpath=home.htm
sharedacct/non_public/code/sample.php?relpath=pic.jpg
sharedacct/non_public/code/sample.php?relpath=sub/home.htm
sharedacct/non_public/code/sample.php?relpath=sub/pic.png
I cannot get it to work when trying to pass "." or "/". Also, the request may include several "/"s and "."s - (eg. /sample/sub.2/sub3/photo.pic.jpg)
The Apache docs confuse me and I could not find the same here in the forums.
Hopefully someone can help me out. Thanks.