Usando Apache/2.4.41. Intentando excluir 1 URL de la autenticación básica. La URL que quiero excluir es /index.php?r=admin/remotecontrol He intentado muchas formas diferentes de especificar esto, pero ninguna me ha funcionado. Este es mi archivo .htaccess:
<IfModule mod_rewrite.c> RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f # otherwise forward it to index.php RewriteRule . index.php </IfModule> AuthType Basic AuthName "Restricted Content" AuthUserFile /etc/httpd/.htpasswd Require expr %{REQUEST_URI} =~ m#.*/remotecontrol# Require valid-user¿Qué me estoy perdiendo o haciendo mal?