Hi,
i'm trying to rewrite my urls to goto a single php file:
RewriteRule ^dir/(?:(?!style|js).)*$ http://www.domain.com/single.php?uri=$1 [QSA]
However the exclusion of /dir/js and /dir/style isn't working as i was hoping it would...
- [redirects] domain.com/dir
- [redirects] domain.com/dir/jason
- [redirects] domain.com/dir/jason/pete
- [DOESN'T REDIRECT: GOOD] domain.com/dir/js
- [DOESN'T REDIRECT: GOOD] domain.com/dir/js/*
- [DOESN'T REDIRECT: BAD] domain.com/dir/json
How can I change the regular expression to match my needs?