Command Redirect in .htaccess neglected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux