Ticket #28 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

httpd.conf gets multiple NameVirtualHost declaration if setup_apache is called more than once.

Reported by: toby@trike.com.au Assigned to: somebody
Priority: trivial Milestone:
Component: component1 Version:
Keywords: virutalhost namevirtualhost apache Cc:

Description

1. setup apache passes "NameVirtualHost? *:80" to append_to_file_if_missing. 2. append_to_file_if_missing calls grep 3. grep evaluates the "*" as regexp metacharacter

This patch to deprec_extensions.rb (v1.7.1) is a way to fix it.

24c24 < grep "#{value}" #{filename} > /dev/null 2>&1 ---

grep -F "#{value}" #{filename} > /dev/null 2>&1

Change History

06/21/07 18:31:14 changed by mbailey

  • status changed from new to closed.
  • resolution set to fixed.