[Toolserver-l] Moving to Apache?

Q overlordq at gmail.com
Tue Nov 29 00:26:36 UTC 2011


On 11/28/2011 6:17 PM, Tim Landscheidt wrote:
>   I haven't tested it, but the possibility to "SetEnv
> PERL5LIB" in an ".htaccess" file should be an elegant solu-
> tion to this, and according to the Zeus documentation, there
> seems to be no such thing in ZWS.

#!/usr/bin/perl
BEGIN {
  if ( $ENV{SERVER_SOFTWARE} =~ /Apache/ ) {
	use lib '/foo/bar/baz';
  } else {
	use lib '/quux/fuzzle/wuzzle';
  }
}

have not tried, but dont see why it wouldn't work.



More information about the Toolserver-l mailing list