mod_rewrite, same filename matching rules are not processed

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

 



Dear all

i'm not sure if this problem is related to a new feature or not of
apache 2.2.16, available in the new debian6 release.

I had an htaccess file like this:
######################################
RewriteEngine on
RewriteRule Test/([^/]+)		Test.php?request=$1	[L]
######################################

If i make a GET request to:

http://server_ip/Test/abc

instead of requesting Test.php?request=abc
it goes to Test.php

It seems that as Test is the same as the file Test.php the rewrite
goes directly to Test.php withoud looking at the rule.

On an older version of apache (debian 5, 2.2.9) i haven't this problem.

Is there a possibility to disable this feature, or to force the rule
to be processed?

Thanks

-- 
/*************/
nik600
http://www.kumbe.it

---------------------------------------------------------------------
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