working htaccess for titer 3 on local xampp |
PREMISE: thank you to all of you for being patient , I'm learning both about php and codeigniter and I understand this will be a long challenge :-)
Hello Paradinight thank you for the links please allow me to say that placed where they are, they are not helping a newbie that is following the official tutorial on the official Codeigniter guide. Especially the first one, because it is hinting how to remove the the index.php from URL, this is misleading. My personal opinion about htaccess (so far for what I understand) is that this should be a SHARP step of the official Codeigniter tutorial and it should be an highlighted step which should teach something like Quote:"for the examples in this tutorial to work, so for the routes to work, you must create an .htaccess file in the root of your project and insert the following rules..." do you agree? Unless Codeigniter may work either without an .htaccess , if this is the case, sorry for pointing this out. But anyway, following the tutorial it does develop in a manner that makes htacces mandatory, so for the tutorial itself, it is a needed step. I mean, read here https://codeigniter.com/user_guide/tutor...pages.html I kindly ask you to be objective: does this teaches and inform that the htaccess modification is a MUST? ![]() Otherwise many newbies like me (hard of comprehension) , will get stuck as soon they create the first Controller ![]() Also, referred to my P.S. I have read the links, but I don't find any distinction for an htaccess for projects resident in a subdir of e.g. a local xampp or in the root of a local xampp and the same for a real webserver with the same distinction, so a real www like www.myserver.ext with Apache and codeigniter app in a subdir (first case) and as root of the www.myserver.ext (second case) Is the snippet Code: RewriteEngine On expected to work for all the 4 cases? Or are they needed different .htaccess rewrite conditions and rules for them? - codeigniter as subdir in a local xampp - codeigniter as root in a local xampp - codeigniter as subdir in a real FQD www Apache server - codeigniter as root in a real FQD www Apache server Thank you for clarifying |
Messages In This Thread |
working htaccess for titer 3 on local xampp - by Corsari - 06-04-2017, 07:06 AM
RE: working htaccess for titer 3 on local xampp - by donpwinston - 06-04-2017, 12:01 PM
RE: working htaccess for titer 3 on local xampp - by Corsari - 06-04-2017, 11:37 PM
RE: working htaccess for titer 3 on local xampp - by Paradinight - 06-05-2017, 01:16 AM
RE: working htaccess for titer 3 on local xampp - by Corsari - 06-05-2017, 01:58 AM
RE: working htaccess for titer 3 on local xampp - by InsiteFX - 06-05-2017, 03:29 AM
RE: working htaccess for titer 3 on local xampp - by Corsari - 06-05-2017, 05:13 AM
|