You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Hans Lodder <ha...@requirements-management.nl> on 2009/02/13 12:58:59 UTC

[users@httpd] Command Redirect in .htaccess neglected

Hi!

I have several separate (Drupal) sites. Originally I installed Drupal in 
a subdirectory, but recently I decided to moved the installation the 
installations to root. To facilitate the old web addresses to be found I 
added at the end of the original Drupal .htaccess file the line:

Redirect 301 /drupal/ http://results2match.com/

This works for all sites but one (results2match.com).

I identified the offending lines:

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

But removing them is no option, as then only the home page is shown.

My questions:

- What is happening here, and why
- How to solve this, because about 200 links cannot be found now

Kind regards, and thanks in advance,

Hans Lodder


-- 
Control your IT demand: http://requirements-management.nl

Blog: http://requirements-management.nl/rss.xml


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org