blob: d1595a29496ae7bca6aaa5136cc33607645d50d8 (
plain) (
tree)
|
|
# https://httpd.apache.org/docs/current/
# https://httpd.apache.org/docs/current/mod/directives.html
LoadModule alias_module /usr/lib/apache2/mod_alias.so
LoadModule authz_core_module /usr/lib/apache2/mod_authz_core.so
LoadModule cgid_module /usr/lib/apache2/mod_cgid.so
LoadModule mpm_event_module /usr/lib/apache2/mod_mpm_event.so
LoadModule unixd_module /usr/lib/apache2/mod_unixd.so
ServerRoot "/etc/apache2"
ServerAdmin webmaster@example.com
ServerName localhost
Listen 80
User apache
Group apache
ErrorLog "/var/log/apache2/error_log"
LogLevel warn
<Directory "/">
AllowOverride None
Require all denied
</Directory>
<Directory "/usr/share/srcnode/">
AllowOverride None
Require all granted
</Directory>
<Directory "/usr/share/webapps/cgit/">
AllowOverride None
Options ExecCGI FollowSymlinks
Require all granted
</Directory>
Alias /logo.png "/usr/share/srcnode/logo.png"
Alias /favicon.ico "/usr/share/srcnode/favicon.ico"
Alias /cgit.css "/usr/share/webapps/cgit/cgit.css"
Alias /robots.txt "/usr/share/webapps/cgit/robots.txt"
ScriptAlias / "/usr/share/webapps/cgit/cgit.cgi/"
|