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: What do I do gallery index.php visible in homepage?  (Read 5807 times)

0 Members and 1 Guest are viewing this topic.

altares

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
What do I do gallery index.php visible in homepage?
« on: February 13, 2007, 03:25:14 pm »

i have:

 http://maraniweb.it/cpg1410/index.php

i want put index.php in the home page

http://maraniweb.it/index.php

thanks
Logged

Nibbler

  • Guest
Re: What do I do gallery index.php visible in homepage?
« Reply #1 on: February 13, 2007, 03:54:50 pm »

Move the gallery there then.
Logged

altares

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: What do I do gallery index.php visible in homepage?
« Reply #2 on: February 13, 2007, 06:54:53 pm »

i want home page coppermine http://maraniweb.it/index.php. If  i move the index.php the link no work. I create page redirect?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What do I do gallery index.php visible in homepage?
« Reply #3 on: February 13, 2007, 06:55:51 pm »

Either move everything there (not only the index file, but the entire coppermine folder and file structure) or set up a redirect. Up to you, both will work fine.
Logged

altares

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: What do I do gallery index.php visible in homepage?
« Reply #4 on: February 14, 2007, 10:38:16 am »

I do not know creating one page of redirect
Logged

altares

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: What do I do gallery index.php visible in homepage?
« Reply #5 on: February 14, 2007, 10:53:24 am »

ok,ok. i create a index page with this code:

<?php
header("Location: http://www.maraniweb.it/cpg1410/index.php");
?>

 ;D ;D

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What do I do gallery index.php visible in homepage?
« Reply #6 on: February 15, 2007, 07:17:38 am »

Issue solved then?
Logged

jle

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: What do I do gallery index.php visible in homepage?
« Reply #7 on: March 10, 2007, 10:47:29 am »

ok,ok. i create a index page with this code:

<?php
header("Location: http://www.maraniweb.it/cpg1410/index.php");
?>

 ;D ;D



No i don't believe this works because there is a lot of reference to the index.php file. For example in the index.php file it self. How knows what is stored in the DB?
I tried this a little but a lot of stuff doesn't work anymore then. I tried this because I want to display /index.php?cat=1 (usercategories).

Jurjen
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What do I do gallery index.php visible in homepage?
« Reply #8 on: March 10, 2007, 11:21:57 am »

Why don't you do as suggested in the first place and move the entire content of your coppermine folder into your webroot? All that is left to do then is change the coppermine URL in the config and you're done.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.