# public/.htaccess  (WAMP / Apache)

Options -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /project_fabrics/public/

    # If request is an existing file or folder, serve it directly
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]

    # Otherwise send everything to index.php
    RewriteRule ^ index.php [L,QSA]
</IfModule>