can't remove public index in codeigniter 4.1.7 |
PHP Code: my config below: can someone show to me why codeigniter dont remove index.php in url? thank you in a advance lixnus <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride ALL Require all granted </Directory> window <Directory "H:/HELPER/SERVER/AppServ/www"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Require all granted </Directory> perfect remove index.php
If your on Windows then you need to also do it in the .htaccess file like below.
Code: # Remove index.php from URL What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |