There is a site config on apache2, how can I make the same parameter run for several folders, now I have:

<Directory "^/var/www/html/(ini|cache)"> deny from all </Directory> 

but it does not work ...

    1 answer 1

     <Directory ~ "^/var/www/html/(ini|cache)"> deny from all </Directory>