I have a symfony project in my root directory, and I have the following lines in my .htaccess
<IfModule mod_rewrite.c>
RewriteCond %{HTTP_HOST} ^mipagina.mx$ [OR]
RewriteCond %{HTTP_HOST} ^www.mipagina.mx$
RewriteRule ^(.*)$ /web/$1
</IfModule>
With this my page goes well, but now that I want to have my file robots.txt
in the root, as indicated by Google this can not be accessed.
If I put www.mipagina.mx/robots.txt
I get a 404 not found message, since the symfony framework takes it as a controller.
How could I configure the .htaccess so that I do not take it as part of the project but as a file that is on the server?