coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Cylindric on June 04, 2004, 12:08:12 AM

Title: Site redirects to wrong host
Post by: Cylindric on June 04, 2004, 12:08:12 AM
I have a strange error that I can't pin down.  I've tried searching, but may be putting the wrong query in the search...

Using cpg1.2.1 with the phpbb bridge.

If I type into my web browser http://www.sunfall-rebels.com/gallery I am instantly redirected to http://sunfall-rebels.com/gallery.  (this mucks up my cookies linking me to my phpBB)
If I then put the www. back in, it's fine and stays there.

Is there a "hostname" option set somewhere?  I can't seem to find it if there is  ???

Problem seems to occurr without the bridge too, but I need to confirm that.

Many thanks,

M
Title: Re: Site redirects to wrong host
Post by: hyperion on June 04, 2004, 03:00:10 AM
Yes, this is an issue that comes up for some servers, and has been addressed in 1.3.  Search your bridge file for "Location:" and change it to an absolute path.  To see how to do this, look in the WebCVS at the latest 1.3 phpBB bridge file.  (You cannot use this bridge with 1.2.1, and you should not attempt to updgrade your install to the beta.)
Title: Re: Site redirects to wrong host
Post by: Cylindric on June 06, 2004, 05:18:43 PM
Ah!  Thank you.  Glad to see it's not just me being thick.  I'm that person in the supermarket who asks where the product is when I'm standing right next to it...