Index of /
Apache/2.2.22 (Unix) Phusion_Passenger/4.0.3 mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 Server at <ADDRESS_OF_SERVER> Port 80
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
Â
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
Â
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
   ServerAdmin webm...@dummy-host.example.com
   DocumentRoot "/usr/docs/dummy-host.example.com"
   ServerName dummy-host.example.com
   ServerAlias www.dummy-host.example.com
   ErrorLog "/private/var/log/apache2/dummy-host.example.com-error_log"
   CustomLog "/private/var/log/apache2/dummy-host.example.com-access_log" common
</VirtualHost>
Â
<VirtualHost *:80>
   ServerAdmin webm...@dummy-host2.example.com
   DocumentRoot "/usr/docs/dummy-host2.example.com"
   ServerName dummy-host2.example.com
   ErrorLog "/private/var/log/apache2/dummy-host2.example.com-error_log"
   CustomLog "/private/var/log/apache2/dummy-host2.example.com-access_log" common
</VirtualHost>
Â
<VirtualHost *:80>
       ServerName FQDN_OF_SERVER
       DocumentRoot "/Library/WebServer/Documents/munkiserver/public"
       <Directory "/Library/WebServer/Documents/munkiserver/public">
               Order allow,deny
               Allow from all
       </Directory>
       LoadModule xsendfile_module /usr/libexec/apache2/mod_xsendfile.so
       RequestHeader Set X-Sendfile-Type X-Sendfile
       ProxyPassReverse / http://localhost:8001/
       XSendFile on
       XSendFilePath /Library/WebServer/Documents/munkiserver/packages
</VirtualHost>
Â
<VirtualHost *:80>
       ServerName FQDN_OF_SERVER
       Redirect permanent / https://FQDN_OF_SERVER
</VirtualHost>