coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: HooX on May 04, 2005, 03:30:46 AM

Title: Is there someway To Change The Index Page
Post by: HooX on May 04, 2005, 03:30:46 AM
Is there any way sp I can have an Preload page instead of index.php.
I want to have a file called index.php and that one should link to the fotoalbum...??

I'm using dreamwaver if that's some help...

/HooXwww.jbfoto.mine.nu (http://www.jbfoto.mine.nu)
Title: Re: Is there someway To Change The Index Page
Post by: donnoman on May 04, 2005, 07:28:14 PM
highly dependent on server config you might be able to use an alternate page type that is higher in precedence than index.php to be displayed as the default page.

Your HOST would probably be able to give you the complete list if you were to ask, and may even be listed in a FAQ section of thier support pages.

Heres a list of candidates (Not exhaustive).

index.htm
index.html
default.htm
default.html
default.php
index.asp
default.asp
home.htm
home.html
index.cfm
default.cfm

then in that file you would link directly to index.php to start up the gallery.

if index.php is the top entry in the http servers config then you are pretty much SOL for using this method, as it generally checks in the order the config option is set.

Title: Re: Is there someway To Change The Index Page
Post by: OmegaGOD on May 04, 2005, 11:48:00 PM
You can also move CPG to folder under your root directory so that you can create your "preload" page. Then simply link from your "Preload" page to CPG.

Example.

./index.html <- Your Pre-load page
./gallery/index.php <- The gallery's main index page.
Title: Re: Is there someway To Change The Index Page
Post by: Joachim Müller on May 06, 2005, 07:18:28 AM
HooX seems to already have found out how to add a splash page. It would have been nice if you (HooX) would have resolved your own thread. Dreamweaver (or any other editor) is irrelevant in this context.

Joachim
Title: Thank's All..
Post by: HooX on May 11, 2005, 04:32:39 AM
I Solved The Problem By Edit The httpd.conf file.
And told that one to read the Index.html before Index.php file =)