can someone help me writing an RegEx for Apache Mod Rewrite? i wannt do select all with .html and .php on the and, and all without dots (fol开发者_运维技巧ders)
RewriteCond %{REQUEST_URI} .(html|php)$
This is what i have at the moment, so i need to add something like "or doesn't contain any ."
:)
/.*(\.(html|php))?/
I think that would of select php and html files along folders. Good Luck
精彩评论