There was an error while loading. Please reload this page.
Enable mod_proxy and mod_proxy_http by
mod_proxy
mod_proxy_http
sudo a2enmod proxy sudo a2enmod proxy_http
Create /etc/apache2/site-available/syaro.conf (Ubuntu) and edit
/etc/apache2/site-available/syaro.conf
<Location "/URL_PREFIX"> ProxyPass http://localhost:8080/URL_PREFIX ProxyPassReverse http://localhost:8080/URL_PREFIX Require all granted </Location>
If you want to use basic authorization,
<Location "/URL_PREFIX"> ... AuthType Basic AuthName "Authorization required" AuthUserFile /path/to/.htpasswd Require user USER </Location>
Enable site conf
sudo a2ensite syaro.conf
Restart apache
sudo service apache2 restart
Start syaro
syaro --url-prefix="URL_PREFIX" --wikiname="WIKI_NAME" --wikiroot=/path/to/wiki