Mutex file:/var/lock/apache2 default PidFile /var/run/apache2/apache2.pid Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 User www-data Group www-data HostnameLookups Off ErrorLog /proc/self/fd/2 LogLevel warn IncludeOptional mods-enabled/*.load IncludeOptional mods-enabled/*.conf # ports.conf Listen 80 Listen 443 Listen 443 DocumentRoot /var/www/html AccessFileName .htaccess Require all denied LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog /proc/self/fd/1 combined SetHandler application/x-httpd-php # Multiple DirectoryIndex directives within the same context will add # to the list of resources to look for rather than replace # https://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex DirectoryIndex disabled DirectoryIndex index.php index.html IncludeOptional conf-enabled/*.conf IncludeOptional sites-enabled/*.conf IncludeOptional mods-available/rewrite.load DocumentRoot "/code/" AuthType Basic AuthName "Log in to restricted corpuses" AuthUserFile /var/www/html/public/.htpasswd Require valid-user # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # Options Indexes FollowSymLinks ExecCGI # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # AllowOverride FileInfo AuthConfig Limit # AllowOverride All AddHandler cgi-script .cgi # # Controls who can get stuff from this server. # Require all granted Order allow,deny Allow from all # vim: set ts=4 sw=4 tw=72 syntax=apache :