stas 02/03/22 02:54:22
Modified: src/search apache.org-setup.pl
Log:
last env tweaks
Revision Changes Path
1.4 +3 -4 modperl-docs/src/search/apache.org-setup.pl
Index: apache.org-setup.pl
===================================================================
RCS file: /home/cvs/modperl-docs/src/search/apache.org-setup.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- apache.org-setup.pl 22 Mar 2002 10:52:16 -0000 1.3
+++ apache.org-setup.pl 22 Mar 2002 10:54:22 -0000 1.4
@@ -1,14 +1,13 @@
-require Sys::Hostname;
-my $hostname = Sys::Hostname::hostname();
-
# to use the setup at home, simply add to httpd.conf:
# SetEnv SWISH_BINARY_PATH /usr/local/bin/swish-e
# adjust to the real path
# on daedalus (the production server) we cannot modify the config file
# so we do it here
-
BEGIN {
+ require Sys::Hostname;
+ my $hostname = Sys::Hostname::hostname();
+
if ($hostname && $hostname eq 'daedalus.apache.org') {
$ENV{SWISH_BINARY_PATH} = "/home/stas/bin/swish-e";
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]