Hi,
I'm trying to add a folder to my webserver that will contain content that is only accessible to logged in users. I can handle controlling the users that are logged in. What I can't get working is disallowing unlogged in users from accessing the content if they happen to know the address of it. Safe mode is on, not sure if thats a factor.
If I break the file by putting in random letters then it disallows access, but that doesn't seem like the correct way to handle it. This tells me that the server is trying to access the file, at least to some degree.
This is my htaccess file.
RewriteCond $1 !(index.html|index.php|robots.txt|admin|favicon.ico|..js|..css|..png) [NC]
RewriteRule (.)$ "index.php/$1" [L]
Any help appreciated, thanks!