etc/apache2/hg.conf
author František Kučera <franta-hg@frantovo.cz>
Sun, 28 Apr 2019 16:03:30 +0200
branchv_0
changeset 22 b2cb46ae50f7
parent 21 735961d9596e
permissions -rw-r--r--
apache2-httpd: alias for robots.txt
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@22
     9
		ProxyPassMatch ^/robots.txt !
franta-hg@22
    10
franta-hg@21
    11
		ProxyPass "/" "http://localhost:16169/"
franta-hg@21
    12
		ProxyPassReverse "/" "http://localhost:16169/"
franta-hg@21
    13
franta-hg@21
    14
		ErrorLog ${APACHE_LOG_DIR}/error.log
franta-hg@21
    15
		CustomLog ${APACHE_LOG_DIR}/access.log combined
franta-hg@21
    16
</VirtualHost>