# .htaccess mod_rewrite and access control

RewriteEngine On    #Turn on the rewriting engine

RewriteCond %{REQUEST_FILENAME} !-d


RewriteRule ^register$ register.php [NC,L]
RewriteRule ^login$ index.php [NC,L]
RewriteRule ^dashboard$ dashboard.php [NC,L]
RewriteRule ^logout$ logout.php [NC,L]
RewriteRule ^florence$ florence.php [NC,L]
RewriteRule ^admin_edit$ admin_edit.php [NC,L]
RewriteRule ^admin_delete$ admin_delete.php [NC,L]
RewriteRule ^start_investment$ start_investment.php [NC,L]
RewriteRule ^your_investment$ your_investment.php [NC,L]
RewriteRule ^withdraw_earnings$ withdraw_earnings.php [NC,L]
RewriteRule ^referrals$ referrals.php [NC,L]
RewriteRule ^withdraw_history$ withdraw_history.php [NC,L]
RewriteRule ^profile$ profile.php [NC,L]
RewriteRule ^admin_withdrawal$ admin_withdrawal.php [NC,L]
RewriteRule ^admin_edit_withdrawal$ admin_edit_withdrawal.php [NC,L]
RewriteRule ^deposit$ deposit.php [NC,L]
RewriteRule ^admin_transaction$ admin_transaction.php [NC,L]
RewriteRule ^admin_change_pic$ admin_change_pic.php [NC,L]
RewriteRule ^admin-cot-code$ admin_cot_code.php [NC,L]
RewriteRule ^admin-vat-code$ admin_vat_code.php [NC,L]
RewriteRule ^admin-imf-code$ admin_imf_code.php [NC,L]
RewriteRule ^admin-otf-code$ admin_otf_code.php [NC,L]
RewriteRule ^admin_view_cheque$ admin_view_cheque.php [NC,L]





