Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Perl Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
README.md

README.md

Readme

Apache 2 scripts

Setup

Run the following:

$ mkdir /etc/apache2/sites-available

$ mkdir /etc/apache2/sites-enabled

Add the following to the bottom of /private/etc/apache2/httpd.conf

# Include the virtual host configurations:

<VirtualHost *:80>
    ServerName default
    DocumentRoot /Library/WebServer/Documents/
    <Directory />
        ServerSignature Off 
    </Directory>
</VirtualHost>

Include /private/etc/apache2/sites-enabled/

Usage

  1. Create vhost "example.com" in /etc/apache2/sites-available/
  2. $ a2ensite example.com
Something went wrong with that request. Please try again.