Skip to content

Instantly share code, notes, and snippets.

@tonylegrone
Last active August 29, 2015 14:03
Show Gist options
  • Save tonylegrone/48ae55356585f70e31f2 to your computer and use it in GitHub Desktop.
Save tonylegrone/48ae55356585f70e31f2 to your computer and use it in GitHub Desktop.
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
LoadModule php5_module /usr/local/opt/php55/libexec/apache2/libphp5.so
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. [email protected]
#
ServerAdmin [email protected]
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName 127.0.0.1
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html index.php index.htmls index.htm
</IfModule>
Include /usr/local/etc/httpd/sites.d/*.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment