# public/.htaccess

DirectoryIndex index.php

Options -Indexes

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

    # Skip existing files/folders
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # Send everything to index.php
    RewriteRule ^ index.php [L]
</IfModule>
