Atualmente executando o site no servidor apache no Ubuntu e agora todo site está protegido com autenticação .htaccess.
Quero fazer: preciso permitir dois URLs sem autenticação.
sites1.conf
<VirtualHost *:80>
...
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/(tools|manager)/
</VirtualHost>
<Directory /srv/site1/symfony/>
AuthType Basic
AuthName "My Area"
AuthBasicProvider file
AuthUserFile "/etc/apache2/passwords.htpwd"
Require user user1
SetEnvIf Request_URI ^/en/App/uploadImagesForm allow
Order allow,deny
Allow from env=allow
Satisfy any
</Directory>
URL: xxx.xxxx.xx: 9005 / pt / App / uploadImagesForm /
Erro:
404 Not Found The requested URL /en/App/uploadImagesForm was not found on this server.