# public_html/waste_seg_form/public/.htaccess
RewriteEngine On
RewriteBase /waste_seg_form/public/

# ✅ Never rewrite uploaded files (so direct image links work)
RewriteRule ^uploads/ - [L]

# Serve existing files/folders as-is
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Everything else to index.php (CodeIgniter)
RewriteRule ^(.*)$ index.php/$1 [L]
