The problem with Apache, Rewite on 64bit: apache: apache 1.3.33-4 platform: x86_64 system: debian 3.1 kernel 2.6 the goal: www.domain.hu/redirect/35234 >>rewrite to>> www.domain.hu/redirect.php?id=35234 .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 The URI is wrong, why is there the ".php" extension? ...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
*** This bug has been marked as a duplicate of 31858 ***