[users@httpd] mod_rewrite bug on 64bit??

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

 



Hi All!

I have some problem with Apache, Rewite on 64bit:
system:
x86_64
apache:
ii  apache         1.3.33-4
ii  apache-common  1.3.33-4
ii  apache-utils   1.3.33-4
ii  apache2-utils  2.0.53-5
ii  libapache-mod- 4.3.10-9
debian 3.1
kernel 2.6

my goal:
www.domain.hu/redirect/35234 rewrite to www.domain.hu/redirect.php?id=35234

so, try it in explorer:
www.domain.hu/redirect/35234

with the followinf .htaccess (just 2 lines because of test):
RewriteEngine On
RewriteRule ^redirect/([a-zA-Z0-9]{1,11}) /redirect.php?id=$1 [L,NC]

and here is the log:
(3) [per-dir /vhost/www/www.domain.hu/] add path-info postfix:
/vhost/www/www.domain.hu/redirect.php ->
/vhost/www/www.domain.hu/redirect.php/1111
(3) [per-dir /vhost/www/www.domain.hu/] strip per-dir prefix:
/vhost/www/www.domain.hu/redirect.php/1111 -> redirect.php/1111
(3) [per-dir /vhost/www/www.domain.hu/] applying pattern
'^redirect/([a-zA-Z0-9]{0,11})' to uri 'redirect.php/1111'
(1) [per-dir /vhost/www/www.domain.hu/] pass through
/vhost/www/www.domain.hu/redirect.php

I think its try to detect the file, and the redirect automatically got the
extension: .php Why?! and begin to rewrite

If the script file name not redirect.php, rather than do_redirect.php (so,
it doesnt find redirect.php in the directory) then everything goes without
error.
This rewrite goes on other "clone system", everything is same, but 32bit,
not amd opteron 64bit

Any idea?!
Its a bug? or what?

Thanks
G.



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