.htaccess mod_rewrite is preventing certain files from being served
- by Lucas
i have a successful use of mod_rewrite to make a site display as i wish... however, i have migrated the 'mock-up' folder to the root directory and in implementing these rules for the site, some files are not being served in the ^pdfs folder:
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ - [L]
(old directory)
RewriteRule ^redesign_03012010/mock-up/([^/]+)/([^/]+)$ /redesign_03012010/mock-up/index.php?page=$1§ion=$2 [PT]
RewriteRule ^redesign_03012010/mock-up/([^/]+)$ /redesign_03012010/mock-up/index.php?page=$1 [PT,L]
(new directory)
RewriteRule ^([^/]+)/([^/]+)$ /index.php?test=1&page=$1§ion=$2 [PT]
RewriteRule ^([^/]+)$ /index.php?test=1&page=$1 [PT,L]
... ^pdfs (aka /pdfs/) is not serving the files... any suggestions?