| author | František Kučera <franta-hg@frantovo.cz> |
| Sun, 08 Jan 2023 12:37:15 +0100 | |
| branch | v_0 |
| changeset 25 | 1088fd70d17c |
| parent 22 | b2cb46ae50f7 |
| child 26 | 0f42cc368775 |
| permissions | -rw-r--r-- |
| franta-hg@21 | 1 |
<VirtualHost *:80> |
| franta-hg@21 | 2 |
ServerName … |
| franta-hg@21 | 3 |
ServerAlias … |
| franta-hg@21 | 4 |
|
| franta-hg@21 | 5 |
ServerAdmin webmaster@localhost |
| franta-hg@21 | 6 |
DocumentRoot /var/www/html |
| franta-hg@21 | 7 |
|
| franta-hg@22 | 8 |
Alias /robots.txt /var/www/html/robots.txt |
| franta-hg@21 | 9 |
Alias /cgit-css "/usr/share/cgit/" |
| franta-hg@21 | 10 |
ScriptAlias / "/usr/lib/cgit/cgit.cgi/" |
| franta-hg@21 | 11 |
<Directory "/usr/share/cgit/"> |
| franta-hg@21 | 12 |
AllowOverride None |
| franta-hg@21 | 13 |
Options None |
| franta-hg@21 | 14 |
Require all granted |
| franta-hg@21 | 15 |
</Directory> |
| franta-hg@21 | 16 |
<Directory "/usr/lib/cgit/"> |
| franta-hg@21 | 17 |
AllowOverride None |
| franta-hg@21 | 18 |
Options ExecCGI FollowSymlinks |
| franta-hg@21 | 19 |
Require all granted |
| franta-hg@21 | 20 |
</Directory> |
| franta-hg@21 | 21 |
|
| franta-hg@21 | 22 |
ErrorLog ${APACHE_LOG_DIR}/error.log
|
| franta-hg@21 | 23 |
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
| franta-hg@21 | 24 |
</VirtualHost> |