Last active
August 29, 2015 14:04
-
-
Save quinn/c642ba60a2b685961847 to your computer and use it in GitHub Desktop.
Reason Standalone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Listen 5000 | |
PidFile tmp/httpd.pid | |
LockFile tmp/accept.lock | |
# | |
# 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 authn_file_module libexec/apache2/mod_authn_file.so | |
LoadModule authn_dbm_module libexec/apache2/mod_authn_dbm.so | |
LoadModule authn_anon_module libexec/apache2/mod_authn_anon.so | |
LoadModule authn_dbd_module libexec/apache2/mod_authn_dbd.so | |
LoadModule authn_default_module libexec/apache2/mod_authn_default.so | |
LoadModule authz_host_module libexec/apache2/mod_authz_host.so | |
LoadModule authz_groupfile_module libexec/apache2/mod_authz_groupfile.so | |
LoadModule authz_user_module libexec/apache2/mod_authz_user.so | |
LoadModule authz_dbm_module libexec/apache2/mod_authz_dbm.so | |
LoadModule authz_owner_module libexec/apache2/mod_authz_owner.so | |
LoadModule authz_default_module libexec/apache2/mod_authz_default.so | |
LoadModule auth_basic_module libexec/apache2/mod_auth_basic.so | |
LoadModule auth_digest_module libexec/apache2/mod_auth_digest.so | |
LoadModule cache_module libexec/apache2/mod_cache.so | |
LoadModule disk_cache_module libexec/apache2/mod_disk_cache.so | |
LoadModule mem_cache_module libexec/apache2/mod_mem_cache.so | |
LoadModule dbd_module libexec/apache2/mod_dbd.so | |
LoadModule dumpio_module libexec/apache2/mod_dumpio.so | |
LoadModule reqtimeout_module libexec/apache2/mod_reqtimeout.so | |
LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so | |
LoadModule include_module libexec/apache2/mod_include.so | |
LoadModule filter_module libexec/apache2/mod_filter.so | |
LoadModule substitute_module libexec/apache2/mod_substitute.so | |
LoadModule deflate_module libexec/apache2/mod_deflate.so | |
LoadModule log_config_module libexec/apache2/mod_log_config.so | |
LoadModule log_forensic_module libexec/apache2/mod_log_forensic.so | |
LoadModule logio_module libexec/apache2/mod_logio.so | |
LoadModule env_module libexec/apache2/mod_env.so | |
LoadModule mime_magic_module libexec/apache2/mod_mime_magic.so | |
LoadModule cern_meta_module libexec/apache2/mod_cern_meta.so | |
LoadModule expires_module libexec/apache2/mod_expires.so | |
LoadModule headers_module libexec/apache2/mod_headers.so | |
LoadModule ident_module libexec/apache2/mod_ident.so | |
LoadModule usertrack_module libexec/apache2/mod_usertrack.so | |
#LoadModule unique_id_module libexec/apache2/mod_unique_id.so | |
LoadModule setenvif_module libexec/apache2/mod_setenvif.so | |
LoadModule version_module libexec/apache2/mod_version.so | |
LoadModule proxy_module libexec/apache2/mod_proxy.so | |
LoadModule proxy_connect_module libexec/apache2/mod_proxy_connect.so | |
LoadModule proxy_ftp_module libexec/apache2/mod_proxy_ftp.so | |
LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so | |
LoadModule proxy_scgi_module libexec/apache2/mod_proxy_scgi.so | |
LoadModule proxy_ajp_module libexec/apache2/mod_proxy_ajp.so | |
LoadModule proxy_balancer_module libexec/apache2/mod_proxy_balancer.so | |
# LoadModule ssl_module libexec/apache2/mod_ssl.so | |
LoadModule mime_module libexec/apache2/mod_mime.so | |
LoadModule dav_module libexec/apache2/mod_dav.so | |
LoadModule status_module libexec/apache2/mod_status.so | |
LoadModule autoindex_module libexec/apache2/mod_autoindex.so | |
LoadModule asis_module libexec/apache2/mod_asis.so | |
LoadModule info_module libexec/apache2/mod_info.so | |
LoadModule cgi_module libexec/apache2/mod_cgi.so | |
LoadModule dav_fs_module libexec/apache2/mod_dav_fs.so | |
LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so | |
LoadModule negotiation_module libexec/apache2/mod_negotiation.so | |
LoadModule dir_module libexec/apache2/mod_dir.so | |
LoadModule imagemap_module libexec/apache2/mod_imagemap.so | |
LoadModule actions_module libexec/apache2/mod_actions.so | |
LoadModule speling_module libexec/apache2/mod_speling.so | |
LoadModule userdir_module libexec/apache2/mod_userdir.so | |
LoadModule alias_module libexec/apache2/mod_alias.so | |
LoadModule rewrite_module libexec/apache2/mod_rewrite.so | |
#LoadModule perl_module libexec/apache2/mod_perl.so | |
LoadModule php5_module libexec/apache2/libphp5.so | |
LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so | |
<IfModule !mpm_netware_module> | |
<IfModule !mpm_winnt_module> | |
# | |
# If you wish httpd to run as a different user or group, you must run | |
# httpd as root initially and it will switch. | |
# | |
# User/Group: The name (or #number) of the user/group to run httpd as. | |
# It is usually good practice to create a dedicated user and group for | |
# running httpd, as with most system services. | |
# | |
User _www | |
Group _www | |
</IfModule> | |
</IfModule> | |
# 'Main' server configuration | |
# | |
# The directives in this section set up the values used by the 'main' | |
# server, which responds to any requests that aren't handled by a | |
# <VirtualHost> definition. These values also provide defaults for | |
# any <VirtualHost> containers you may define later in the file. | |
# | |
# All of these directives may appear inside <VirtualHost> containers, | |
# in which case these default settings will be overridden for the | |
# virtual host being defined. | |
# | |
# | |
# 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] | |
# | |
# 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 www.example.com:80 | |
# | |
# DocumentRoot: The directory out of which you will serve your | |
# documents. By default, all requests are taken from this directory, but | |
# symbolic links and aliases may be used to point to other locations. | |
# | |
DocumentRoot "/Library/WebServer/Documents" | |
# | |
# Each directory to which Apache has access can be configured with respect | |
# to which services and features are allowed and/or disabled in that | |
# directory (and its subdirectories). | |
# | |
# First, we configure the "default" to be a very restrictive set of | |
# features. | |
# | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None | |
Order deny,allow | |
Deny from all | |
</Directory> | |
<FilesMatch \.php$> | |
SetHandler application/x-httpd-php | |
</FilesMatch> | |
# | |
# DirectoryIndex: sets the file that Apache will serve if a directory | |
# is requested. | |
# | |
<IfModule dir_module> | |
DirectoryIndex index.html index.php | |
</IfModule> | |
# | |
# The following lines prevent .htaccess and .htpasswd files from being | |
# viewed by Web clients. | |
# | |
<FilesMatch "^\.([Hh][Tt]|[Dd][Ss]_[Ss])"> | |
Order allow,deny | |
Deny from all | |
Satisfy All | |
</FilesMatch> | |
# | |
# ErrorLog: The location of the error log file. | |
# If you do not specify an ErrorLog directive within a <VirtualHost> | |
# container, error messages relating to that virtual host will be | |
# logged here. If you *do* define an error logfile for a <VirtualHost> | |
# container, that host's errors will be logged there and not here. | |
# | |
ErrorLog "reason_4.0/data/logs/error_log" | |
# | |
# LogLevel: Control the number of messages logged to the error_log. | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
# | |
LogLevel warn | |
DefaultType text/plain | |
DocumentRoot "/Users/quinn/Code/reason_root" | |
<Directory "/Users/quinn/Code/reason_root"> | |
AllowOverride all | |
Order allow,deny | |
Allow from all | |
</Directory> | |
TraceEnable off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/sbin/apachectl -f apache.conf -d . -e info -D FOREGROUND |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment