On Thu, Sep 15, 2011 at 7:55 PM, Sebastian Tarach wrote:
> I'm just curious why it isn't working when I think it should. For the
> production server I will be using nginx web server either way. I just
> want to learn something useful about Apache. Additionally Directory
> and DirectoryMatch aren't
I'm just curious why it isn't working when I think it should. For the
production server I will be using nginx web server either way. I just
want to learn something useful about Apache. Additionally Directory
and DirectoryMatch aren't avaiable in htaccess files. So my question
still remains.
On 16
Why dont you use Directory statement instead with Allow/Deny and modify the
default 404 page?
On Sep 16, 2011 4:13 AM, "Sebastian Tarach" wrote:
> Hello,
> I have all my files that I want clients to have access to in one
> folder named assets. I want to forbid direct access to any other
> folders
Hello,
I have all my files that I want clients to have access to in one
folder named assets. I want to forbid direct access to any other
folders and their files.
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule \.(?!assets.+)$ index.php?path=error404
RewriteC