You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2016/01/19 20:46:11 UTC

[Bug 58893] New: Document that RewriteMap names must be unique across the server

https://bz.apache.org/bugzilla/show_bug.cgi?id=58893

            Bug ID: 58893
           Summary: Document that RewriteMap names must be unique across
                    the server
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: rbowen@apache.org

As per the comment at
http://httpd.apache.org/docs/current/rewrite/rewritemap.html#comments_section
RewriteMap names must be unique across the entire server.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


[Bug 58893] Document that RewriteMap names must be unique across the server

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58893

--- Comment #1 from Sean Timmins <st...@wiley.co.uk> ---
Have tried the following simple config on v2.2.24 and v.2.4.16 and both maps,
though they have the same name, work fine.

<VirtualHost *:8080>
    ServerName site1

    RewriteEngine on
    RewriteMap testmap prg:/path/to/testmap1.sh
    RewriteCond %{REQUEST_URI} !^/Vhost1/
    RewriteCond ${testmap:REDIRECT} (.+)
    RewriteRule /?(.*) /Vhost1/%1 [L,R]
</VirtualHost>

<VirtualHost *:8080>
    ServerName site2

    RewriteEngine on
    RewriteMap testmap prg:/path/to/testmap2.sh
    RewriteCond %{REQUEST_URI} !^/Vhost2/
    RewriteCond ${testmap:REDIRECT} (.+)
    RewriteRule /?(.*) /Vhost2/%1 [L,R]
</VirtualHost>

So misreported or possibly already fixed?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org