<IfModule mod_rewrite.c>
    # <IfModule mod_negotiation.c>
    #     Options -MultiViews -Indexes
    # </IfModule>
    # # RewriteEngine On
    # RewriteBase /accounts
    
    # # Rewrite requests to 'public' folder
    # # RewriteCond %{REQUEST_URI} !^/accounts//
    # # RewriteRule ^(.*)$ /accounts/public/$1 [L]
    
    # # Handle requests for non-existent files or directories
    # RewriteCond %{REQUEST_FILENAME} !-f
    # RewriteCond %{REQUEST_FILENAME} !-d
    # RewriteRule ^(.*)$ /accounts/public/index.php [L]


    RewriteEngine On
    # Rewrite requests to 'public' folder
    RewriteCond %{REQUEST_URI} !^accounts//public/
    RewriteRule ^(.*)$ /accounts/public/$1 [L]
    
    # Handle requests for non-existent files or directories
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /accounts/public/index.php [L]
    


    
</IfModule>
