FreedomBox/data/etc/apache2/conf-available/mldonkey-freedombox.conf
Sunil Mohan Adapa 260dcd4d32
mldonkey: Update description and minor updates
- Update description to simply and talk about multiple protocols supported.

- Don't diagnose on IPv6 as mldonkey does not listen there.

- Run yapf and isort.

- Minor styling fixes.

- Update functional tests to check for service running.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-25 14:39:31 -08:00

22 lines
599 B
Plaintext

##
## On all sites, provide mldonkey web interface on a path: /mldonkey
##
# Redirect /mldonkey to /mldonkey/ as the MLdonkey server web interface does not
# work without a slash at the end.
<Location ~ ^/mldonkey$>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/mldonkey$
RewriteRule .* /mldonkey/ [R=301,L]
</IfModule>
</Location>
<Location /mldonkey/>
Include includes/freedombox-single-sign-on.conf
ProxyPass http://localhost:4080/
<IfModule mod_auth_pubtkt.c>
TKTAuthToken "admin" "ed2k"
</IfModule>
</Location>