spelling fixes: demos apache (#2257)
This commit is contained in:
parent
81a598f242
commit
1a04ad4cdb
|
@ -206,7 +206,7 @@ Function Restart-ApacheHTTPServer{
|
|||
[switch]$Graceful
|
||||
)
|
||||
|
||||
if ($Graceful -eq $null){$Graceful = $fase}
|
||||
if ($Graceful -eq $null){$Graceful = $false}
|
||||
$cmd = GetApacheCmd
|
||||
if ($Graceful){
|
||||
& $global:sudocmd $cmd -k graceful
|
||||
|
|
|
@ -14,7 +14,7 @@ Get-ApacheVHost |out-host
|
|||
|
||||
#Add a new virtual host
|
||||
Write-Host -Foreground Yellow "Create a new Apache Virtual Host"
|
||||
New-ApacheVHost -ServerName "mytestserver" -DocumentRoot /var/www/html/mystestserver -VirtualHostIPAddress * -VirtualHostPort 8090 | Out-Host
|
||||
New-ApacheVHost -ServerName "mytestserver" -DocumentRoot /var/www/html/mytestserver -VirtualHostIPAddress * -VirtualHostPort 8090 | Out-Host
|
||||
|
||||
#Enumerate new set of virtual hosts
|
||||
Write-Host -Foreground Blue "Enumerate Apache Virtual Hosts Again"
|
||||
|
|
Loading…
Reference in a new issue