i need to much the sentense, if it doesn't contain some words i wrote it like this
^([^news|home|rules|contacts|month_films|archive|ratings])$
but it doesn't work. could you tell me why? thanks
i need to much the sentense, if it doesn't contain some words i wrote it like this
^([^news|home|rules|contacts|month_films|archive|ratings])$
but it doesn't work. could you tell me why? thanks
try this (without []):
^(news|home|rules|contacts|month_films|archive|ratings)$
In this case, put a ! in front of the regular expression and use a RewriteCond:
RewriteCond %{REQUEST_URI} !(news|home|rules|contacts|month_films|archive|ratings)
RewriteRule <whatever it is you want to do>