Can anyone help me with this one? This is probably a simple thing although I couldn't find it. I am trying to figure out how to make the URLs in the site point to index2.php or something else for development rather than the default index.php. Where can this be edited and is it in several places or one editable variable?
Thanks for any help,
-J
Help on changing the index.php page?
Re: Help on changing the index.php page?
You can change the page extension and query variable in config.php by changing $config['page_extension'] and $config['query_var'] respectively.
I'd setup CMSMS in a subdir (or on another server) for development.
Regards,
D
I'd setup CMSMS in a subdir (or on another server) for development.
Regards,
D
Re: Help on changing the index.php page?
If you are just trying to hide the site while developing it you can make a simple index.html page and it will show up instead of index.php, all browsers look for .html pages first.
Re: Help on changing the index.php page?
Actually browsers dont look for the index file, apache (and other http servers) have configuration setting for which file to use as index file if none is specified by the client (browser) in apache its just a list like index.html index.php index.php3 index.... so on, first one found will be used
Re: Help on changing the index.php page?
OH, well I didn't know it that way but it sounds like it works along the same lines as what I thought.
Does it still mean that it will serve an .html file first?
I've used the .html (trick) way to set up numerous sites and it always worked, is there some configurations where it won't work?
Does it still mean that it will serve an .html file first?
I've used the .html (trick) way to set up numerous sites and it always worked, is there some configurations where it won't work?
Re: Help on changing the index.php page?
it just depends on how the server is set up.
usually html is first but there might be exceptions...
usually html is first but there might be exceptions...
Re: Help on changing the index.php page?
On apache the DirectoryIndex directive sets this:
http://httpd.apache.org/docs/2.2/mod/mo ... ctoryindex
(in my setup index.php is served before index.html)
http://httpd.apache.org/docs/2.2/mod/mo ... ctoryindex
Code: Select all
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex index.php index.html index.htm index.html.varRe: Help on changing the index.php page?
I learn some thing new every day...
.
.
.
.
.
.
.
.
.
.
.
or stagnate.....
.
.
.
.
.
.
.
.
.
.
.
or stagnate.....


