coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: dman7800 on November 15, 2004, 08:32:31 PM

Title: Start page
Post by: dman7800 on November 15, 2004, 08:32:31 PM
How can I make the stand alone version come up as my start page?  I uploaded it and when I goto my domain page I get something else with a coppermine link.  Is this possible?
Title: Re: Start page
Post by: Tranz on November 15, 2004, 08:38:12 PM
Do you have another index file in the same folder? You need to remove it (back up before doing so).
Title: Re: Start page
Post by: dman7800 on November 16, 2004, 12:58:01 AM
I have deleted everything in my http folder on my ftp except the cpg132 folder.  Same problem. 
Title: Re: Start page
Post by: Tranz on November 16, 2004, 01:45:06 AM
If you want your gallery to show up as your main page when visiting your domain, you can't have it in a subdirectory. The files have to be in the folder that contains the web files, I guess http folder for you, at the same level as cpg132 folder. With that setup, it has to be domain.com/cpg132. You must move your files up one level into http so they don't need to be accessed via cpg132 folder.
Title: Re: Start page
Post by: donnoman on November 16, 2004, 04:50:54 AM
If you will never want anything but cpg for your site, I WOULD move all the folders and directories up.

If this is just temporary, and you want a quick fix you could use a client side refresh to direct folks to the right dir.

Put this file in your root as index.htm or whatever your allowed start file is:

<html>
<head>
<title>CPG Refresh Page</title>
<meta http-equiv="refresh" content="0;url=/cpg132">
</head>
<body>
Redirecting you to the Gallery.
</body>
</html>


Caveats apply: see this url http://webdesign.about.com/cs/metatags/a/aa080300a.htm
Title: Re: Start page
Post by: Tranz on November 16, 2004, 04:53:26 AM
I just realized what you were seeing is an index directory of your domain content and the coppermine link is the folder, since you have nothing in that http folder.
Title: Re: Start page
Post by: dman7800 on November 16, 2004, 03:25:00 PM
I deleted the ccpg132 and reloaded all the files inside that folder to the http folder and it worked great.  Thanks all.  I kinda realized that yesterday but wasnt sure.