usertree = "C:/Documents and Settings";
}
- print "Installing Apache HTTP 2.0 server with" >tstfl;
+ print "Installing Apache HTTP Server 2.x with" >tstfl;
print " DomainName = " domainname >tstfl;
print " ServerName = " servername >tstfl;
print " ServerAdmin = " serveradmin >tstfl;
print " ServerPort = " serverport >tstfl;
- print " ServerSslPort = " serverport >tstfl;
+ print " ServerSslPort = " serversslport >tstfl;
print " ServerRoot = " serverroot >tstfl;
filelist["httpd.conf"] = "httpd.conf.in";
print "#LoadModule xml2enc_module modules/mod_xml2enc.so" > dstfl;
continue;
}
- gsub( /^SSLMutex.*/, "SSLMutex default" );
gsub( /@@ServerRoot@@/, serverroot );
gsub( /@exp_cgidir@/, serverroot "/cgi-bin" );
gsub( /@exp_sysconfdir@/, serverroot "/conf" );
if ( close(dstfl) >= 0 ) {
print "Rewrote " srcfl "\n to " dstfl > tstfl;
- gsub(/\//, "\\", srcfl);
if ( sourceroot != "docs/conf/" ) {
- if (system("del \"" srcfl "\"")) {
+ gsub(/\//, "\\", srcfl);
+ if (system("del 2>NUL \"" srcfl "\"")) {
print "Failed to remove " srcfl > tstfl;
} else {
print "Successfully removed " srcfl > tstfl;
if ( sourceroot != "docs/conf/" ) {
srcfl = confdefault "installwinconf.awk";
gsub(/\//, "\\", srcfl);
- if (system("del \"" srcfl "\"")) {
+ if (system("del 2>NUL \"" srcfl "\"")) {
print "Failed to remove " srcfl > tstfl;
} else {
print "Successfully removed " srcfl > tstfl;