Redmine configuration

If both Drupal (with clean urls) and Redmine on same server need this mod_rewrite type in .htaccess in /var/www directory:

RewriteCond %{REQUEST_URI} !redmine


I have a site with this existing rule:

RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

so that it captures all URLs and translates them to this query.

How can I precede this with something that will make an exception for URLs of the form{anything}

e.g. any URL that refers to something in a /services directory?



RewriteCond %{REQUEST_URI} !/services

If you are putting this into .htaccess, you might need:

RewriteCond %{REQUEST_URI} !services


RewriteCond %{REQUEST_URI} !services/

					is /services a regexp? do I need the ^ in front of it? – Jason S Dec 1 '09 at 2:30
Quite possibly it is. Try it with and without a ^ and see which works best. Also see the full docs which is for apache 2.0 and probably hasn't changed recently.– Michael Graff Dec 1 '09 at 2:33

Leave a comment

Your email address will not be published. Required fields are marked *