Received: (qmail 75388 invoked by uid 501); 8 Mar 2002 18:41:40 -0000 Message-Id: <20020308184140.75387.qmail@apache.org> Date: 8 Mar 2002 18:41:40 -0000 From: Pablo A.Delgado Reply-To: polka0@yahoo.com To: submit@bugz.apache.org Subject: RewriteMap MapType 'rnd' not working X-Send-Pr-Version: 3.110 >Number: 10090 >Category: mod_rewrite >Synopsis: RewriteMap MapType 'rnd' not working >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Mar 08 10:50:00 PST 2002 >Closed-Date: Sat Mar 16 15:46:08 PST 2002 >Last-Modified: Sat Mar 16 15:46:08 PST 2002 >Originator: polka0@yahoo.com >Release: 1.3.23 >Organization: >Environment: FreeBSD 4.4-RELEASE >Description: I compile Apache 1.3.23 using de following ./configure --prefix=/usr/local/apache --enable-module=rewrite make make install Then I configured the httpd.conf adding a virtual host like this: DocumentRoot /home/pdelgado/supertest RewriteEngine on RewriteMap random rnd:/home/pdelgado/supertest/list.rnd RewriteRule ^/(.+)$ $1${random:$1} RewriteLogLevel 9 RewriteLog /home/pdelgado/supertest/rewrite.log the file 'list.rnd' contains test index1.html|index2.html|index3.html|index4.html|index5.html other index1.html|index2.html|index3.html >How-To-Repeat: http://localhost/ http://localhost/1 http://localhost/2 Only show the first one of the randomized series. In this case index1.html. >Fix: Suggestion: I tried every version of apache conuting back from 1.3.23 And the problem seems to be the same. It only worked perfectly fine in version 1.3.19. The one I am using right now. >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: wrowe State-Changed-When: Sat Mar 16 15:46:08 PST 2002 State-Changed-Why: This problem should be resolved in 1.3.24 - thank you for the report and interest in the Apache HTTP Project! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]