Yeah, Iam trying to make the _PRIVATE folder out from the web itself
I cant figure out how I do a /../ redirect. Because this is happening in Apache it should allow it somehow.
I want ../ because sometimes _PUBLIC is www root, depends on the large sets of webhosts out there, and I want it to work on both setups =/
Structure
/ (www root)
- .htaccess #1
- _PUBLIC/
- .htaccess #2
- images/
- javascripts/
- styles/
- _PRIVATE/
- pages/
- login.php
.htaccess #1
* -> /_PUBLIC/*
.htaccess #2
user/login -> /../_PRIVATE/pages/login.php
This is how my .htaccess files looks like now
.htaccess #1
RewriteCond $1 !^_PUBLIC
RewriteRule ^(.*)$ /_PUBLIC/$1 [L]
.htaccess #2
RewriteRule ^user/login/? /../_PRIVATE/pages/login.php [L]