So I moved my gallery from a dir to a subdomain and now my images don't work... So I moved my gallery from a dir to a subdomain and now my images don't work...
 

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]

Main Menu

So I moved my gallery from a dir to a subdomain and now my images don't work...

Started by jms1989, October 05, 2008, 11:26:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jms1989

So I moved my gallery from a dir to a subdomain and now my images don't work, so what could I do? Explanation follows.

I added a subdomain for my gallery the other night and today when I went to configure my gallery to use it, all the images in my gallery wont load. The theme images, similies, etc, work but not my thumbs, mid-size images, and full size images. When I open the page info in FF, clicked the media tab, and looked to see it they load and they do. Directly viewing the images work too but not in the browser. Hmm,  ???.

The origianal url was http://www.michaelsweb.uni.cc/gallery/ and now its located at http://gallery.michaelsweb.uni.cc/ . The physical location of the gallery didn't change, my web panel just added a directive to point the domain to the subfolder. I've tried changing the url of the gallery to the new domain but they still won't load. If I look as the source of the page, I can see that the images don't rely on the old url. I also don't use a .htaccess file on the gallery either. Its not making any since, please help me.

Thanks in advance,
jms1989

Nibbler

Fix your hotlink protection so that it works with the new domain name.

jms1989



jms1989

Well, I found the pesky file. A .htaccess in my /albums/ folder. I don't remember placing it there, oh well. I added my new domain to the file, so it works now. Meh, this thread can be marked a solved.

Joachim Müller

Quote from: jms1989 on October 06, 2008, 02:27:29 AM
Meh, this thread can be marked a solved.
You could have done that for yourself by clicking on the little check icon in your initial posting, see http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631. Did that for you.