How to avoid urlManager rules in order to get listed a protected by password directory

Hello.

I need to access to http://www.mydomain.com/docs/ skipping urlManager rules.

I explain: at now, if I write http://www.mydomain.com/docs/ Yii is trying to recognize "/docs/" as a controller. Well, I want to skip that rule and treat as a normal directory.

What and where do I need to change in order to achieve it?

Thanks in advance.

if you wrote the .htaccess file like exemplified in the guide, it should be working




RewriteEngine on


#checks if the requested path is a existent file

RewriteCond %{REQUEST_FILENAME} !-f

#checks if the requested path is a existent directory

RewriteCond %{REQUEST_FILENAME} !-d


# otherwise forward it to index.php

RewriteRule . index.php



Thanks for fast response gustavo, but I think my post was lack of an important information:

the /docs/ directory is a password securized directory.

So…, if I disable the password, the directory is listed successfully, but if I enable the password, appears that "RewriteCond %{REQUEST_FILENAME} !-d" is skipped and not treated as an existing directory.

Where is the problem in this case?

Thanks