Help - Search - Members - Calendar
Full Version: [Sug] Rename index.php
Invision Power Services > Invision Power Services, Inc. > IPS Company Feedback > IP.Board
Coastie
I would like to see the ability to rename the main forum index.php file

Ideally there would be a setting in the conf_global.php file where the main index.php file could be renamed.
Bradyok
This would be a great feature that I would like to see.. I could keep everything in the same directory and use my regular site, instead of forums.
Stuart Elliott
Unfortunately, things like Apache and the likes LOOK for index.php (or index.htm / index.html etc) to autoload your website, when you specify www.yoursite.com/forum without you having to type the /index.php at the end.
Coastie
currect, but we would use another index.xxx file for that wink.gif
Haroon
Same qs. here.

anu rename index.php

into something like hum.php?

huh?
.Logan
Just curious.

Why? I'm assuming so you could keep it all in the same directory, but just have a different frontpage, hence renaming IPB's index.php?

Good idea.
Mark.
Why not just have index.html as well as index.php

.html will be recognised before .php

That is what I have at my site.

So if you ever find my site, you will notice you are taken to mysite.com/index.html, and from there you can navigate to the forums, which are stored at mysite.com/index.php
elj
The setting is controlled by Apache DirectoryIndex in httpd.conf, if I'm on the right lines. If index.php is before index.htm(l), it will check and see if the PHP file's there in the first place, then the HTML. Different hosts may have different settings for this.
DAN21
Well i used VB once and this feature is implanted in there, anybody knows why it works fine there and couldnt work fine as well here?!
Oreckel
Just write a .htaccess file that has

DirectoryIndex home.php

And then call your main site home.php. Assuming you have the proper overrides set, it should load up home.php by default.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.