Site redirects to wrong host Site redirects to wrong host
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Site redirects to wrong host

Started by Cylindric, June 04, 2004, 12:08:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cylindric

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

hyperion

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.)
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Cylindric

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