0

I need to configure apache in reverse proxy to have all url protected with password except url start with /app/test#/toto/xxxxx. I have a problem with the # in the url, if I test with other url without # and change the pattern it's ok.

That's my configuration

<Location />
    AuthType Basic
    AuthName "Authentification pour l'accès"
    AuthBasicProvider file
    AuthUserFile "/etc/apache2/passwd/passwords"
    Require expr %{REQUEST_URI} =~ m|^/app/test#/toto/.*|
    Require valid-user
</Location>

ProxyPass / http://localhost:601/
ProxyPassReverse / http://localhost:601/

Thank you for your help

diablo62
  • 1
  • 1

0 Answers0