Debug Apache Vhosts
Having trouble working out your apache vhosts? Especially if you have many on one box.
See a list of the port, name and location of all your virtual hosts, also verifies the syntax of your virtual hosts.
$ apachectl -t -D DUMP_VHOSTS
Example output:
*:80 is a NameVirtualHost
port 80 namevhost example.co.uk (/etc/apache2/sites-enabled/example.vhost:1)
Syntax OK
Written by Peter Mitchell
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Apache2
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#