index.php or .htaccess problem - index page not serving unless ?cid= code included
Permalink
When I go to /index.php I see just eh code of the page
when I go just the root (http://localhost/concrete5.4.1.1/) I see a directory listing of that directory
but when I go to my site home page (http://localhost/concrete5.4.1.1/index.php?cID=1)
I see what I actually want to see both when I go to the root or go to index.php.
What am I missing or what I have screwed up? The nav bar on all of my pages has a link to home that just goes to the root and does not work as a result of this problem.
I have pretty URLs enabled but I tried with them off and it is still the same problem.
Thanks in advance for any help.
<?php require('concrete/dispatcher.php');
when I go just the root (http://localhost/concrete5.4.1.1/) I see a directory listing of that directory
but when I go to my site home page (http://localhost/concrete5.4.1.1/index.php?cID=1)
I see what I actually want to see both when I go to the root or go to index.php.
What am I missing or what I have screwed up? The nav bar on all of my pages has a link to home that just goes to the root and does not work as a result of this problem.
I have pretty URLs enabled but I tried with them off and it is still the same problem.
Thanks in advance for any help.
![Mnkras](/files/avatars/781.jpg)
Contact you host and ask them to set the default page to index.php (99% of hosts do that since thats the default)
thank you for your quick reply.
I am the host and you are correct, I had neglected to change it in my apache httpd.conf file.
I corrected that and now the home page does serve when I am in the root.
Thank you!
I am the host and you are correct, I had neglected to change it in my apache httpd.conf file.
I corrected that and now the home page does serve when I am in the root.
Thank you!