Great, thank you very much, it helped. I forgot about drupal's nice URLs
rewrite rules in .htaccess.
Drupal has been rewriting ^/free_trial$ to ^/index.php?q=free_trial
so the final working solution is
RewriteCond %{HTTP_HOST} !^www\.example\.com$
RewriteCond %{REQUEST_URI} !^/free_tri
>. Any suggestion how i could make this work or any idea,
> why my rewrite condition doesn't work.
RewriteLog
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html
Hello list,
I want to do a rewrite rule for all URLs to get rewritten to example.com
This works and can be done with very simple rule:
RewriteCond %{HTTP_HOST} !^www\.example\.com$
RewriteRule ^/(.*) http://www.example.com/$1 [R=301,L]
The problem is, when i want to exclude a URI.
So t