What would be the proper command to exclude a directory from THIS php script? RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes## RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php As for the specific context of use, I am using Joomla CMS' OpenSEF, and it comes into conflict with another application which generates static urls (for dynamic code) for a specific directory.
Are you saying that there is a directory that, when accessed, you don't want mod_rewrite to redirect the request?