etc/apache2/hg.conf
author František Kučera <franta-hg@frantovo.cz>
Thu, 29 Oct 2020 19:21:19 +0100
branchv_0
changeset 24 1d46fb79b1af
parent 22 b2cb46ae50f7
permissions -rw-r--r--
allow the ~ character in the URL
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>