Help needed with basics! |
Hi folks,
So, I'm following the static page tutorial and can't get the stupid paths to work properly. Hence I can see '/index.php/about' but not '/about' I've removed 'index.php' as the index page in the config file and added an .htaccess file in the root dir. What's going wrong? I'm using Apache on a Mac with the project in a subfolder.
Hi SuperElectric.
It looks like a problem with .htaccess file (.htaccess file is for Apache servers only, so be sure you are using one). Try different configurations. This topic could be helpful: htaccess examples for codeigniter. I wish you patience at the beggining and a lot of great times with CodeIgniter. :-)
You could also try RewriteBase rule in .htaccess:
Code: RewriteEngine On
Thanks for the reply, I'm running Apache/2.4.18 (Unix) with El Capitan. I'll go through the htaccess examples. I have a feeling it could be a PHP setting I need to change though.
|
Welcome Guest, Not a member yet? Register Sign In |