open0 Posted yesterday at 09:17 AM Posted yesterday at 09:17 AM Hi, I'm hosting a CodeIgniter 4 app on my domain. Could you please: Enable mod_rewrite for my domain? Allow .htaccess overrides (AllowOverride All)? Confirm that Rewrite rules in .htaccess will work inside httpdocs/? I'm trying to remove index.php from URLs but it only works when I include it i want to access my subdomain https://vims.bharat.hacked.us/abc but its not working https://vims.bharat.hacked.us/index.php/abc is working pls help me Quote
wolstech Posted yesterday at 11:51 AM Posted yesterday at 11:51 AM Try moving the code into a subfolder (e.g. make it vims.bharat.hacked.us/ci4/). The root of a domain can be...special. All domains support mod_rewrite by default, no need to request it or anything. These are the Apache directives applied to a domain root by default, so yes AllowOverride is set to All (and directory listings are enabled by default): <Location /> Options +Indexes AllowOverride All </Location> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.