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: Redirecting to different url...  (Read 5611 times)

0 Members and 1 Guest are viewing this topic.

viettho

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Redirecting to different url...
« on: October 08, 2007, 07:31:13 pm »

Here is the problem:
when I type http://www.freeeh.com/media, it automatically redirects to http://freeeh.com/media/ . How would I keep the original url instead of the redirecting one? The reason i'm asking this because it can't be logged in if I bridge with Simple Machines forum.  Thanks for your help.
Logged

Nibbler

  • Guest
Re: Redirecting to different url...
« Reply #1 on: October 08, 2007, 08:14:00 pm »

It's not Coppermine that does this but your webserver.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Redirecting to different url...
« Reply #2 on: October 08, 2007, 08:15:26 pm »

It's not a matter of redirection, but the browser auto-completing the correct URL syntax. Reference to a folder must always contain a trailing slash. As many users forget to enter it, modern browsers automatically add it to the URL. Therefor, http://www.freeeh.com/media is just wrong and your browser is correctly changing the link to the valid URL, which is http://www.freeeh.com/media/
What you mistakenly considered to be a redirection certainly is not the reason for your bridging issues.

If you have issues with bridging, you shouldn't have posted on the misc board, but on the one that is dedicated to bridging issues. Moving your thread accordingly. Post the needed data (refer to the sticky thread on the bridging board what you need to post) and I'm convinced that we can help you solve your issues.
Logged

viettho

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Redirecting to different url...
« Reply #3 on: October 08, 2007, 08:33:23 pm »

Thanks for all the replies. I didn't know that missing a trailing slash is invalid url. I guess I'll just have to be sure to include that. Thanks
Logged

Nibbler

  • Guest
Re: Redirecting to different url...
« Reply #4 on: October 08, 2007, 08:40:06 pm »

The change from www.freeeh.com to freeeh.com is a redirect and it is caused by the webserver. Even the completion of the slash is done by the webserver in fact. If this was not the case there would be no way to access a file named 'media'.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.