# HG changeset patch # User František Kučera # Date 1556460210 -7200 # Node ID b2cb46ae50f785a604e2ab2325daecdf4a6edd73 # Parent 735961d9596eb6313e1924ce4dc1e02b6d928d58 apache2-httpd: alias for robots.txt diff -r 735961d9596e -r b2cb46ae50f7 etc/apache2/git.conf --- a/etc/apache2/git.conf Wed Apr 24 17:29:04 2019 +0200 +++ b/etc/apache2/git.conf Sun Apr 28 16:03:30 2019 +0200 @@ -5,6 +5,7 @@ ServerAdmin webmaster@localhost DocumentRoot /var/www/html + Alias /robots.txt /var/www/html/robots.txt Alias /cgit-css "/usr/share/cgit/" ScriptAlias / "/usr/lib/cgit/cgit.cgi/" diff -r 735961d9596e -r b2cb46ae50f7 etc/apache2/hg.conf --- a/etc/apache2/hg.conf Wed Apr 24 17:29:04 2019 +0200 +++ b/etc/apache2/hg.conf Sun Apr 28 16:03:30 2019 +0200 @@ -5,6 +5,9 @@ ServerAdmin webmaster@localhost DocumentRoot /var/www/html + Alias /robots.txt /var/www/html/robots.txt + ProxyPassMatch ^/robots.txt ! + ProxyPass "/" "http://localhost:16169/" ProxyPassReverse "/" "http://localhost:16169/"