coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Joshua on October 12, 2004, 09:30:49 PM

Title: Setting Coppermine as Homepage
Post by: Joshua on October 12, 2004, 09:30:49 PM
I would like to set up Coppermine as my homepage. The way my site was designed before is that I had a link to my gallery and forums. But since my site is mainly pics of my kids, I don't really need the first page, I'd rather have it go directly to the Coppermine Gallery. I know the main page is usually always index.html. So what Coppermine files do I need to modify?

Did some searches but didn't find the answers.

Thanks
Title: Re: Setting Coppermine as Homepage
Post by: Tranz on October 12, 2004, 09:41:36 PM
Is CPG installed in the root or in a subfolder?
Title: Re: Setting Coppermine as Homepage
Post by: Joshua on October 12, 2004, 10:04:48 PM
Subfolder.

As we speek I'm installing to the root.

Should that do it?

Is there any file I need to modify?

Thanks for the reply Tranz.
Title: Re: Setting Coppermine as Homepage
Post by: Tranz on October 12, 2004, 10:07:08 PM
You're welcome. :)

If you install it to root, then all you need to do is go to the domain and the gallery will be the home page because it is index.php. Just make sure you don't have any other index files that could conflict.
Title: Re: Setting Coppermine as Homepage
Post by: Joshua on October 12, 2004, 10:18:15 PM
Ya da man  :o
Title: Re: Setting Coppermine as Homepage
Post by: Joachim Müller on October 12, 2004, 11:21:37 PM
Quote from: Joshua on October 12, 2004, 10:18:15 PM
Ya da man  :o
not exactly - look at the gender display in Thu's profile ;-) ;D

Joachim
Title: Re: Setting Coppermine as Homepage
Post by: ChaosCrusader on October 17, 2004, 04:07:45 PM
Now that solved it for root installations.  Is there a way to do the same if you haven't installed to the root?
Title: Re: Setting Coppermine as Homepage
Post by: Nibbler on October 17, 2004, 04:10:40 PM
Same way will work for installation in any directory.
Title: Re: Setting Coppermine as Homepage
Post by: Abbas Ali on January 07, 2005, 01:23:21 PM
Quote from: ChaosCrusader on October 17, 2004, 04:07:45 PM
Now that solved it for root installations.  Is there a way to do the same if you haven't installed to the root?

Suppose your cpg installation is at http://yourdomain.com/cpg/ then you can make an index.php file in the root which will redirect the visitors to your cpg folder. Root index.php should have following code


<?php
  header
("Location: cpg/index.php");
  exit;
?>