Updating Database - Base URL Updating Database - Base URL
 

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

Updating Database - Base URL

Started by fffanatics, February 01, 2006, 11:42:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fffanatics

I was wondering if there was a way to update the database so that you can replace all of the links. For instance, right now, Coppermine has all of the links in the following fashion:

http://s90678298.onlinehome.us/Album/thumbnails.php?album=88

However, you can get to the same page by going to:

http://joel.poloney.com/thumbnails.php?album=88

Is there something that I can do to update all of the links so that they are changed from http://s90678298.onlinehome.us/Album/ to http://joel.poloney.com/ ?

Thanks,
Joel Poloney

kegobeer

Are you using some sort of redirection service?  If you actually own the poloney.com domain, and the files resided on the poloney.com domain, then the links would be correct.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

fffanatics

The files don't reside on the poloney.com domain, they reside on another server. I have a symbolic link redirecting to the other server.

Joachim Müller

coppermine doesn't store full URLs in the database, but relative ones. Pages themselves are being identified by ID only. Imo you should be able to come up with a custom .htaccess file that does the redirection if you're allowed to use mod_rewrite.