Comments (5)
try to use config file, find "Uncomment to enable HTTP authentication", for example:
'login' => array(
'admin' => array(
'password' => 'adminpassword',
)
)
where login: admin, password: adminpassword
from phpredisadmin.
here:
https://github.com/ErikDubbelboer/phpRedisAdmin/blob/master/includes/config.sample.inc.php#L41
from phpredisadmin.
I have changed the lines to something like:
// Uncomment to enable HTTP authentication
'login' => array(
// Username => Password
// Multiple combinations can be used
'Sadmin' => array(
'password' => '*axxdminpassword',
),
'temp' => array(
'password' => 'xxxx',
'servers' => array(1) // Optional list of servers this user can access.
),
'demo' => array(
'password' => 'yyyy',
)
),
but this does not work, even after I rebooted Apache...
from phpredisadmin.
Hi, if this doesn't work there is probably something in you apache setup preventing this from working.
The best thing you can do is set up authentication using apache: http://httpd.apache.org/docs/current/howto/auth.html
from phpredisadmin.
Hi Erik,
Thx for your remark.
It was of course the classical (but that I had forgotten) "AllowOverRide None" in Apache2 conf.
Once changed, it allowed all local .htaccess to control as expected.
So _no problem with your program_ itself!
And thx for the program, works like a charm.
from phpredisadmin.
Related Issues (20)
- BAD CSRF TOKEN HOT 7
- bug-web HOT 7
- Arm64 docker image HOT 3
- Why no tags for new versions? HOT 2
- reJSON HOT 2
- .htaccess HOT 1
- Uncaught Predis\Connection\ConnectionException: Error while reading line from the server. HOT 6
- Doesn't work in Cluster Mode HOT 3
- Docker secrets HOT 5
- Please support semantic versioning HOT 1
- Unable to delete keys with comma(s) HOT 7
- phpRedisAdmin does not support arm64v8 architectures HOT 4
- Feature Request - Support TLS HOT 5
- Deprecated: Using ${var} in strings is deprecated
- php 8.2 quirks HOT 1
- Can not connect redis localhost via docker bridge0 HOT 1
- Show number of keys without explicitly displaying them
- sites:get_sites HOT 1
- Uncaught SyntaxError: Unexpected token ':' HOT 1
- Issue: Uncaught Predis\Response\ServerException: WRONGTYPE Operation against a key holding the wrong kind of value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpredisadmin.