# Redirect untuk halaman yang salah path
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/view/
RewriteCond %{REQUEST_URI} !^/bri_stock_prediction/
RewriteRule ^view/(.*)$ /bri_stock_prediction/view/$1 [R=302,L]

RewriteCond %{REQUEST_URI} ^/controller/
RewriteCond %{REQUEST_URI} !^/bri_stock_prediction/
RewriteRule ^controller/(.*)$ /bri_stock_prediction/controller/$1 [R=302,L]

RewriteCond %{REQUEST_URI} ^/assets/
RewriteCond %{REQUEST_URI} !^/bri_stock_prediction/
RewriteRule ^assets/(.*)$ /bri_stock_prediction/assets/$1 [R=302,L]