Reputation: 1966
What I have is a rule:
RewriteCond %{REQUEST_FILENAME}.php !abc.php
RewriteRule ^(.*)$ some.php [L]
what's necessary to add condition where .html filetype will also run under that rule?
Upvotes: 0
Views: 143
Reputation: 6679
It's late so I may be wrong, but this should do the trick:
RewriteCond %{REQUEST_FILENAME} !abc\.php
RewriteCond %{REQUEST_FILENAME} ^(.*\.html)$
RewriteRule ^(.*)$ some.php [L]
Upvotes: 1