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
     1 <VirtualHost *:80>
     2 		ServerName  …
     3 		ServerAlias …
     4 
     5 		ServerAdmin webmaster@localhost
     6 		DocumentRoot /var/www/html
     7 
     8 		Alias /robots.txt /var/www/html/robots.txt
     9 		ProxyPassMatch ^/robots.txt !
    10 
    11 		ProxyPass "/" "http://localhost:16169/"
    12 		ProxyPassReverse "/" "http://localhost:16169/"
    13 
    14 		ErrorLog ${APACHE_LOG_DIR}/error.log
    15 		CustomLog ${APACHE_LOG_DIR}/access.log combined
    16 </VirtualHost>