CPG without DNS? CPG without DNS?
 

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

CPG without DNS?

Started by TheKog, August 14, 2005, 12:00:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TheKog

Posted: Sat Aug 13, 2005 6:23 pm    Post subject: phpBB without DNS?   

--------------------------------------------------------------------------------

I am working on running our CPG on a backup server that has no DNS setup.

So to get to my board the path is http://IPADDY/~user/cpg/index.php

Unfortunately the DB and configs were copied from the real server with a functioning domain with DNS.

So all of the CPG scripts seem to be off 1 level of subdir in the paths -- for example image refs that are coded to ../../subdir (where subdir is outside CPG) is not finding the correct files anymore since DNS is not translating the domain name etc. It just seems the relative path names to resources outside the cpg subdir are not getting dereferenced correctly.

Is there a way I can spoof this by just editing the DB? Or a better way for me to use relative paths in my image refs within my theme template?

Joachim Müller


TheKog

typo, meant cpg (they are bridged)-- maybe this is just an artifact of having no DNS?

Tranz

You don't need to have DNS for CPG. Did you look at config to have the correct ecard URL?

TheKog

yep and I changed it to no effect.

All of CPG is funtional. It's just the portions of the template where I grab a header image from ../../Images that things aren't working.

kegobeer

The quick fix would be to remove a level from your relative paths.  Without actually seeing the problem firsthand, I can't give much more advice.  If you create a test webpage and reference an image in another directory exactly how the template does, do you have the same problem?
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