I have a standard "perfect server" installation on Ubuntu 20.04 I installed phpbb 3.3 in a domain's webroot and installed AWstats in /stats the main htaccess rewrite rule at the webroot is Code: RewriteCond %{REQUEST_URI} !^/stats(/|$) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ app.php [QSA,L] like this, access to /stats by the browser works fine. however, if I try to add basic authentication to the /stats folder, it gets weird and the browser gets redirected to app.php (where Symphony then says no route bla bla) instead of asking for basic auth. I have tried doing that both manually and with ISPConfig's "protected folders" functionality. what is going on ?
Perhaps doing both has messed the setup? I have enabled stats from ISPConfig Panel and set the password there, I have not needed to adjust .htaccess or any other settings.
what ispconfig does when you set the password is writing htaccess/htpasswd files. but awstats does the same anyway. I manually deleted them and put my own, same problem... the problem is somewhere else