I'm using htaccess and mod_rewrite to point to files that reside behide the DocumentRoot. My folder structure looks like this:
home/ webroot/ other_files/
I have a .htaccess
file in webroot with the following:
RewriteEngine on RewriteRule ^(.*)$ /home/other_files/$1
If I try and access http://mysite.com/file.html I am receive the following error:
The requested URL /home/other_files/file.html was not found on this server.
Is it even possible to load files that are behind the DocumentRoot? If so, can someone point me in the right direction? Thanks in advance.