I am puzzled that I am unable to find the answer anywhere.
I have Apache 2.2 for Windows installed on my laptop. This enables server-side includes to function when I work on my sites - even when I'm not connected to the internet.
This used to work:
But I totally broke something when I added a new domain.
I use the hosts file to resolve the IP addresses of hosts on the ".brak" domain
Each *.brak host answers pings.
Each box gets its own TLD that enables me to access each of my local sites from any box in my apartment.
this should work in Cygwin:
$ /cygdrive/c/Apache22/bin/httpd -k start -n Apache2.2
Or in the Command Prompt:
c:\> \Apache22\bin\httpd -k start -n Apache2.2
(One must use
httpd -k install to set up httpd as a Windows Service.)
The task manager shows that the service starts but very quickly stops.
Surely this is the result of my borking the configuration but httpd exits with no messages other than an error status of 1.
To find the status of the previous command:
c:\> dir c:\> echo %errorlevel% 0
I am eternally in your debt.