mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	adjust_apache.pl: updates servername section of apache config to help when instance gets renamed
This commit is contained in:
		| @@ -379,5 +379,12 @@ foreach my $file (@places_to_check) { | |||||||
|       } |       } | ||||||
|    } |    } | ||||||
| } # ~for places_to_check | } # ~for places_to_check | ||||||
|  | if ( -d "/etc/httpd/conf.d") { | ||||||
|  |   die($!) unless open(FILE, ">", "/etc/httpd/conf.d/00-ServerName.conf"); | ||||||
|  |   print FILE "ServerName $MgrHostname\n"; | ||||||
|  |   #print FILE "Listen $MgrHostname:80\n"; | ||||||
|  |   #print FILE "Listen $MgrHostname:443\n"; | ||||||
|  |   close FILE; | ||||||
|  | } | ||||||
|  |  | ||||||
| # | # | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jed Reynolds
					Jed Reynolds