Apache basic authentication & authorization


Non classé

The basic AuthType is used for both authentication and authorization process. This is the most common way of doing. The credentials are encrypted and stored in a file. The command to create/update this credential file is htpasswd. htpasswd -c /PATH/.htpasswd USER1 htpasswd /PATH/.htpasswd USER2 htpasswd /PATH/.htpasswd USER2 The -c option should be used if the password […]

10 novembre 2025

Reverse proxy configuration with frontend authentication for applications who needs local apache configuration


Non classé

Typical usage is a web application who normally needs an Apache authentication BUT placed behind a reverse proxy who handles itself authentication/authorization If you need to define REMOTE_USER system variable on a proxied virtual host (backend) : 1° You need first to use an authentication + authorization process on the front-end virtual host (the one which forwards the requests to the […]

3 novembre 2025