Project

General

Profile

Actions

Feature #1194

closed

Partial matching in mod_evhost patterns

Added by Anonymous almost 18 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_evhost
Target version:
ASK QUESTIONS IN Forums:

Description

mod_evhost currently doesn't support matching parts in avaliable patterns such as "%2.1". This feature should make it easier for larger and "older" setups of mass vhosting in style with {{{/var/www/%3.1/%3.2/%3/ => /var/www/t/e/test/}}}

For a more detailed description; see apache's mod_vhost_alias. Additionally - apache also accepts negative 'counting' - but i'd say it's a separate ticket.

-- Lfe


Files

mod_evhost_dot_notation.patch (1.42 KB) mod_evhost_dot_notation.patch Patch for 1.4.x branch admin, 2007-05-25 12:03
evhost-1.5.patch (2.04 KB) evhost-1.5.patch dot additions patch for evhost in1.5 -- patrickdk Anonymous, 2007-05-25 19:33
mod-evhost_tests.patch (6.99 KB) mod-evhost_tests.patch Testcases for 1.4.x admin, 2007-05-28 14:58

Related issues 1 (0 open1 closed)

Has duplicate Feature #2049: VirtualDocumentroot accept partial parts from subdomains %3.1, %3.2, %3.3 etcDuplicate2009-08-11Actions

Added by gstrauss over 8 years ago

Revision a3bba43b (diff)

[mod_evhost] partial matching patterns (fixes #1194)

"%%" "%_" "%x" "%{x.y}" where x and y are single digit 0 - 9
and y is the 1-indexed position of a single char to add, similar to
http://httpd.apache.org/docs/2.4/mod/mod_vhost_alias.html
(but not supporting the entire Apache mod_vhost_alias syntax)

The lighttpd syntax for adding a single char at a give position requires
that the "%{x.y}" syntax, including the curly braces, which is different
from the Apache mod_vhost_alias syntax.

x-ref:
"Partial matching in mod_evhost patterns"
https://redmine.lighttpd.net/issues/1194

Added by gstrauss over 8 years ago

Revision 75040e99 (diff)

[mod_evhost] mod-evhost.t tests (#1194)

(thx Daniel-Brandt)

x-ref:
"Partial matching in mod_evhost patterns"
https://redmine.lighttpd.net/issues/1194

Actions

Also available in: Atom