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: Updating Database - Base URL  (Read 3409 times)

0 Members and 1 Guest are viewing this topic.

fffanatics

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Updating Database - Base URL
« on: February 01, 2006, 11:42:16 pm »

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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Updating Database - Base URL
« Reply #1 on: February 02, 2006, 01:22:19 am »

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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Updating Database - Base URL
« Reply #2 on: February 02, 2006, 01:25:29 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Updating Database - Base URL
« Reply #3 on: February 02, 2006, 09:49:08 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.