mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
22 lines
599 B
Plaintext
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>
|