<IfModule mod_rewrite.c>
    RewriteEngine On

    # Redirect all requests to the public folder
    RewriteCond %{REQUEST_URI} !^/public/
    RewriteRule ^(.*)$ public/$1 [L]
    
    
</IfModule>

# Increase PHP memory limit to 512M (adjust if needed)
php_value memory_limit 5120M

# Optional - Increase upload size, post size, and execution time if needed
php_value upload_max_filesize 640M
php_value post_max_size 640M
php_value max_execution_time 30000
