[support] can you help me with .htaccess and redirection of drupal?

Simone Dal Maso simone.dalmaso at juvox.it
Tue Jan 13 08:10:30 UTC 2009


Hi,
when I setup some basic redirection rules, also for path external to drupal, Drupal adds some strings after the URL. Now I explain:
I write this simple line in the main .htaccess:
Redirect /nvda http://www.spazioausili.net/~nvda_italia/nvda

So, all request thatgoes to nvda must go to the nvda_italia/nvda folder. It works but with an error... in fact, if I type:
www.spazioausili.net/nvda
my browser is redirected to:
http://www.spazioausili.net/~nvda_italia/nvda/?q=nvda
so as you can see, drupal adds the  /?q=nvda at the end.
How can I remove it?
I think that this depends of this lines in my .htaccess but I don't know how to modify them:

  # Rewrite current-style URLs of the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

How can I solve it?
thanks.
--
Simone Dal Maso.
Tutti i miei progetti:
Spazioausili: consultazione, ricerca e commenti sugli ausili informatici per non vedenti:
http://www.spazioausili.net


homepage sviluppo comunita' NVDA:
www.nvda.it
Visita il mio blog!
http://simodm.blogspot.com
homepage progetto musicale:
www.juvox.it




More information about the support mailing list