Hi,
I've this box setup with Apache and PHP-FPM for a specific need.
I also wanted to have rutorrent running on it, password protected, so I modified my /etc/apache2/sites-available/default like this:
<Location /rut>
AuthType Digest
AuthName "rt"
AuthDigestDomain /var/www/rut/ http://<hostname>/rut/
AuthDigestProvider file
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
SetEnv R_ENV "/var/www/rut"
</Location>
and then I get this:
If I comment the LOCATION code and restart apache, everything works (but no authentication required):
From searching, it seems that for apache and php-fpm to use authentication, php files must be modified.
Can anyone help?
I've this box setup with Apache and PHP-FPM for a specific need.
I also wanted to have rutorrent running on it, password protected, so I modified my /etc/apache2/sites-available/default like this:
<Location /rut>
AuthType Digest
AuthName "rt"
AuthDigestDomain /var/www/rut/ http://<hostname>/rut/
AuthDigestProvider file
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
SetEnv R_ENV "/var/www/rut"
</Location>
and then I get this:
If I comment the LOCATION code and restart apache, everything works (but no authentication required):
From searching, it seems that for apache and php-fpm to use authentication, php files must be modified.
Can anyone help?