hello guys,
i am trying to configure our apache server to do url rewriting. my idea is to whoever browse the http://example.com.org only would be automatically redirected to example.com.org/example. below is my rewrite rule, could you please provide me some info on how can i fix this? btw i am using RH 7.1, apache, mrtg and mailman is installed in this box and they also use the example.com.org domain hence i only want that http requests that has only the http://example.com.org site to be redirected to http://example.com/org/example
RewriteEngine On
RewriteCond %{HTTP_HOST} !^example\.com\.org
RewriteRule /.* http://example.com.org/example [R]
any ideas,corrections and sample configs would be greatly appreciated.
thanks in advance,
allan
