mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-04-28 19:13:48 +00:00
32 lines
744 B
Plaintext
32 lines
744 B
Plaintext
# set server name to start httpd from docker
|
|
ServerName localhost
|
|
|
|
DocumentRoot "/var/www"
|
|
<Directory "/var/www">
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
# cgid module is required to run the cgit binary
|
|
LoadModule cgid_module lib/httpd/modules/mod_cgid.so
|
|
<IfModule cgid_module>
|
|
ScriptSock /var/run/cgid.sock
|
|
</IfModule>
|
|
|
|
# Path to cgit stylesheet, graphics
|
|
Alias /cgit-data /usr/share/cgit
|
|
<Directory "/usr/share/cgit">
|
|
AllowOverride None
|
|
Options None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
# Path to cgit binary
|
|
ScriptAlias /cgit /usr/libexec/cgit/cgi-bin/cgit
|
|
<Directory "/usr/libexec/cgit/cgi-bin">
|
|
AllowOverride None
|
|
Options None
|
|
Require all granted
|
|
</Directory>
|