I have both my ruTorrent site (.../rutorrent/) and SCGIMount (.../RPC2) secured in Apache with HTPassword:
Code:
SCGIMount /RPC2 127.0.0.1:5001
<Location /RPC2>
AuthType Basic
AuthName "rTorrent secure access"
AuthBasicProvider file
AuthUserFile /var/apache/passwords
Require user blah
</Location>
<Location /rutorrent>
Options Indexes FollowSymlinks MultiViews
#AllowOverride None
Order allow,deny
allow from all
AuthType Basic
AuthName "ruTorrent"
AuthUserFile /var/apache/passwords
Require user blah
</Location>
Because of this, when I access the ruTorrent WebUI, I get two password prompts. Is there a better way to pull this off without exposing RPC2?
Code:
SCGIMount /RPC2 127.0.0.1:5001
<Location /RPC2>
AuthType Basic
AuthName "rTorrent secure access"
AuthBasicProvider file
AuthUserFile /var/apache/passwords
Require user blah
</Location>
<Location /rutorrent>
Options Indexes FollowSymlinks MultiViews
#AllowOverride None
Order allow,deny
allow from all
AuthType Basic
AuthName "ruTorrent"
AuthUserFile /var/apache/passwords
Require user blah
</Location>
Because of this, when I access the ruTorrent WebUI, I get two password prompts. Is there a better way to pull this off without exposing RPC2?