mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
spelling fixes: demos apache (#2257)
This commit is contained in:
1 parent
81a598f242
commit
1a04ad4cdb
2 files changed
+2
-2
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user