Welcome Guest, Not a member yet? Register   Sign In
how to allow a index.html page?
#1

[eluser]Unknown[/eluser]
Hi there,
I'm a newbie with codeigniter, thought to give a try, if anyone can give a hand with this as it seems that whatever I try is not working properly.

I need to have a "Under Construction" page -> index.html, but index.php is taking priority for some reason - guess htaccess because the host has HTML , then PHP as index order

tried few things but even if I am able to make the index.html work the CodeIgniter won't work properly..

If anyone knows a way of doing this please share.

thx in advance
#2

[eluser]Michael Wales[/eluser]
Edit your httpd.conf - it will determine the priority as to which pages are loaded as a homepage. I can't remember the exact setting, but a search for index.php or index.html should turn up good results.

There may be away to accomplish this via .htaccess - I am unsure.
#3

[eluser]Unknown[/eluser]
Thanks for your reply.
Deleting the CodeIgniter index.php and htaccess and just upload index.html (HTML page) and index.php (echo -PHP page)
Will get the HTML as a priority -> means in httpd.conf(which I don't have access to anyway) the settings are fine.
Problem is with htaccess from code igniter I think...

Just wondering if it's so customizable why can't I let a "Under Construction" page, there are many sites that needs data entry (members etc..populate the DB) just for some members before going live...so we use a holdUp page everytime.

Thanks anyway ...
#4

[eluser]xwero[/eluser]
If you are using this line
Quote:RewriteCond $1 !^(index\.php|images|robots\.txt)
you can add index\.html and it should work as expected




Theme © iAndrew 2016 - Forum software by © MyBB