This is a discussion on mod_rewrite Configuration Help needed? within the Web & Server Administration forums, part of the Web Designing & Development category; I have the following problem, I have this standard mod_rewrite configuration for TextPattern use. <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/ ...
I have the following problem, I have this standard mod_rewrite configuration for TextPattern use.
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>
This helps rewrite folders such as:
http://www.website.com/products/
into a index.php TXP compatible URL.
However, I have one real physical directory called http://www.website.com/choristes/ that I don't want to be rewritten by the RewriteRule.
Anyone can tell me how I can configure my htaccess to achieve this specific behaviour?
Thanks a lot!
Vincent
Bookmarks