Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Setting Coppermine as Homepage  (Read 4209 times)

0 Members and 1 Guest are viewing this topic.

Joshua

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Setting Coppermine as Homepage
« 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
« Last Edit: October 12, 2004, 11:22:04 pm by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Setting Coppermine as Homepage
« Reply #1 on: October 12, 2004, 09:41:36 pm »

Is CPG installed in the root or in a subfolder?
Logged

Joshua

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Setting Coppermine as Homepage
« Reply #2 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.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Setting Coppermine as Homepage
« Reply #3 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.
Logged

Joshua

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Setting Coppermine as Homepage
« Reply #4 on: October 12, 2004, 10:18:15 pm »

Ya da man  :o

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Setting Coppermine as Homepage
« Reply #5 on: October 12, 2004, 11:21:37 pm »

Ya da man  :o
not exactly - look at the gender display in Thu's profile ;-) ;D

Joachim
Logged

ChaosCrusader

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
    • Finalf Frontier - The Ultimate Free Space Wallpapers
Re: Setting Coppermine as Homepage
« Reply #6 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?

Nibbler

  • Guest
Re: Setting Coppermine as Homepage
« Reply #7 on: October 17, 2004, 04:10:40 pm »

Same way will work for installation in any directory.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Setting Coppermine as Homepage
« Reply #8 on: January 07, 2005, 01:23:21 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

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

Logged
Chief Geek at Ranium Systems
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.