htaccess expression for root files only excluding directories

Viewed 38

Trying to make an expression:

RewriteCond $1 ^(.*)

The problem with this expression (.*) is that, it applies the condition to all directories as well.

Looking for an alternative to select root files only with (.dot) extension.

Does anybody have a clue how to deal with it?

0 Answers
Related