Cygwin Apache2
Cygwin Apache2
- Install Apache2via usual setup-x86_64.exe
- As administrator cd to /cygdrive/c/cygwin64/etc/apache2
- Edit file httpd.conf
Important directories
HTDOCS | APACHE2 |
/cygdrive/c/cygwin64/srv/www/htdocs | /cygdrive/c/cygwin64/etc/apache2 |
File httpd.conf:
$ grep Listen h*.conf
# Listen: Allows you to bind Apache to specific IP addresses and/or
# Change this to Listen on specific IP addresses as shown below to
#Listen 12.34.56.78:80
## Listen 80
Listen 8080
So now http://localhost:8080/index.html
should render the file in
c:/cygwin64/srv/www/htdocs/index.html
Checking vhosts
/usr/sbin/apachectl2 -S
page revision: 4, last edited: 28 Apr 2015 09:55