V
V
VasyaID2021-11-04 10:17:53
Apache HTTP Server
VasyaID, 2021-11-04 10:17:53

Is it possible to make exceptions for basic authorization?

I'm trying to restrict access to phpmyadmin installed in ISPmanager6.

<Directory /usr/share/phpmyadmin>
AuthType Basic 
AuthName "Private"
AuthUserFile /var/www/etc/.htpasswd 
Require valid-user 
</Directory>


But at the same time, it becomes impossible to switch to PMA from the panel.
It is necessary to set an exception so that authorization is not requested either by IP or in some other way.

How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-11-04
@karabanov

Disable Apache basic auth in virtual subdirectory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question