Bug 34010 - apache or mod_rewrite error on 64 bit
Summary: apache or mod_rewrite error on 64 bit
Status: RESOLVED DUPLICATE of bug 31858
Alias: None
Product: Apache httpd-1.3
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: HEAD
Hardware: Other Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-14 17:30 UTC by stenya
Modified: 2005-03-19 10:03 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stenya 2005-03-14 17:30:33 UTC
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
Comment 1 Joe Orton 2005-03-19 19:03:21 UTC

*** This bug has been marked as a duplicate of 31858 ***