# This is a minimal httpd.conf file written for Apache 2.2 on Amazon Linux

# The modules directory is here by default.
# ServerRoot "/etc/httpd"
DocumentRoot ${PWD}
PidFile ${PWD}/apache2.pid

User nobody
Group nobody

# Bind to localhost only, don't require sudo.
Listen 127.0.0.1:8080

# Required modules.
LoadModule authz_host_module modules/mod_authz_host.so
# Needed so we can set a custom log location.
LoadModule log_config_module modules/mod_log_config.so

ErrorLog ${PWD}/error_log
CustomLog ${PWD}/access_log combined

<Directory "/">
    AllowOverride None
    Order Deny,Allow
    Deny from All
</Directory>

<Directory ${PWD}>
    AllowOverride None
    Order Allow,Deny
    Allow from All
</Directory>

Include ${PROJECT_DIRECTORY}/test/mod_wsgi_test/mod_wsgi_test.conf
