I tried to follow the tutorial in NetTuts. I changed this
$config['rest_auth'] = 'digest';
$config['rest_valid_logins'] = array('admin' => '1234');
I typed the username and password, but I keep getting the login dialog over and over.
Any ideas? I would gladly appreciate your help. Thanks.
I found that adding the lines:
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
to my .htaccess file was sufficient to get it working
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.