Here is my website structure (root):

```
private
public
.htaccess
index.php

```

The htaccess file contains:

```
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ /index.php [L]

```

Having this said, all URLs point to `index.php`

In the `private` folder I also have a `.htaccess` file which contains:

```
Order Deny,Allow
Deny from all

```

The problem is that `http://www.example.com/private/` throws 403 and I don't want this. I may want to use `http://www.example.com/private/` location to show something on my website.

I must mention that I don't want to touch the `.htaccess` file from the `private` folder in any way.

So, I'm looking for a way to set some rules in the main `.htaccess` file.

How do I do that? Is it possible?

**Edit**: More about my problem.

Imagine a CMS with a public folder and a private folder. The `private` folder doesn't even belong to the root webserver. It should stay out of public\_html, www or other public folders. Well, talking about a CMS, not all users understand this, and they may still keep the `private` folder in public\_html.

Having this said, the `private` folder should contain a htaccess file which Deny's access to the files through the browser (example [www.example.com/private/internal\_script.php](http://www.example.com/private/internal_script.php)).

But I still want to be able to serve content in the browser for `www.example.com/private/` location.

Right now I can serve what content I want on any URL. This is because of the main htaccess file which let me choose what to show using PHP. But, I still can't serve content to URL `www.example.com/private/`, because this points to the private directory which contains the htaccess with Deny access.

`www.example.com/hello/` can be category, an article etc

`www.example.com/awesome/` can be category, an article etc

`www.example.com/private/` can't be nothing. I get 403...