Ticket #1194 (new enhancement)

Opened 16 months ago

Last modified 9 days ago

Partial matching in mod_evhost patterns

Reported by: Lfe Owned by: jan
Priority: normal Milestone: 1.5.0
Component: mod_evhost Version: 1.4.15
Severity: normal Keywords: mod_evhost partial match patch
Cc: bugs@… Blocked By:
Need User Feedback: no Blocking:

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.

Attachments

mod_evhost_dot_notation.patch (1.4 kB) - added by Daniel Brandt 16 months ago.
Patch for 1.4.x branch
evhost-1.5.patch (2.0 kB) - added by patrickdk@… 16 months ago.
dot additions patch for evhost in1.5
mod-evhost_tests.patch (7.0 kB) - added by Daniel Brandt 16 months ago.
Testcases for 1.4.x

Change History

Changed 16 months ago by Lfe

"This feature should make it easier .... to migrate into lighttpd" is what i meant anyway :)

Changed 16 months ago by Daniel Brandt

Patch for 1.4.x branch

Changed 16 months ago by Daniel Brandt

This is a first stab at the requested functionality.

This is written after spending about 20h reading through sourcecode and docs, so there might be stuff you want to change or make better.. at least it's a start.. =)

Changed 16 months ago by patrickdk@…

dot additions patch for evhost in1.5

Changed 16 months ago by Daniel Brandt

Testcases for 1.4.x

Changed 6 months ago by anonymous

  • keywords patch added
  • pending unset

Changed 9 days ago by stbuehler

  • type changed from defect to enhancement
  • defect != enhancement
  • syntax not clear, %{2.1} instead of %2.1 would be better

Add/Change #1194 (Partial matching in mod_evhost patterns)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.