diff options
Diffstat (limited to 'scripts/apache')
| -rw-r--r-- | scripts/apache/conffix.awk | 6 | ||||
| -rw-r--r-- | scripts/apache/htaccessfix.awk | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/apache/conffix.awk b/scripts/apache/conffix.awk index c4aa28f015..88be6fade7 100644 --- a/scripts/apache/conffix.awk +++ b/scripts/apache/conffix.awk @@ -1,10 +1,10 @@ # $Id$ -/php3_*/ { +/^[ \t]*php3_*/ { phpcommand=substr($1,6) phpvalue=tolower($2) print "<IfModule mod_php3.c>" - print $1 $2 + print $0 print "</IfModule>" print "<IfModule mod_php4.c>" if (phpvalue=="on") { @@ -17,7 +17,7 @@ print "</IfModule>" } -! /php3_*/ { +! /^[ \t]*php3_*/ { print $0 } diff --git a/scripts/apache/htaccessfix.awk b/scripts/apache/htaccessfix.awk index a74e2bbfd8..3c784cd335 100644 --- a/scripts/apache/htaccessfix.awk +++ b/scripts/apache/htaccessfix.awk @@ -1,10 +1,10 @@ # $Id$ -/php3_*/ { +/^[ \t]*php3_*/ { phpcommand=substr($1,6) phpvalue=tolower($2) print "<IfModule mod_php3.c>" - print $1 $2 + print $0 print "</IfModule>" print "<IfModule mod_php4.c>" if (phpvalue=="on") { @@ -17,7 +17,7 @@ print "</IfModule>" } -! /php3_*/ { +! /^[ \t]*php3_*/ { print $0 } |
