Unwanted automatic redirection without trailing slash Unwanted automatic redirection without trailing slash
 

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

Unwanted automatic redirection without trailing slash

Started by vfh, February 21, 2011, 06:11:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vfh

Gallery: http://theflooringmill.com/coppermine/
Version: 1.5.12

Coppermine was installed successfully, but http://theflooringmill.com/coppermine (without the trailing slash) gets automatically redirected to http://theflooringmill.com/flooringmill.com/coppermine/ (note the extra directory).  http://theflooringmill.com/coppermine/ (with the trailing slash) stays the same, as desired.

I've looked around, but couldn't figure out why it's getting redirected.  I've tried the following things:

I successfully created a redirection in my web.config file that manually redirects http://theflooringmill.com/coppermine to http://theflooringmill.com/coppermine/ (which I have disabled so you can see the unwanted redirection), but would prefer change whatever setting is causing the undesired effect in the first place since there's obviously some kind of redirection going on.

Help and advice on this would be greatly appreciated.

Nibbler

Coppermine doesn't do that. It's something else you have set up.

vfh

Thanks.  I talked to my hosting provider, and will post their answer for completeness since it doesn't seem uncommon.

Apparently "the behavior is unavoidable and is caused by how IIS works with alias domains in a shared environment."  For full details: http://community.godaddy.com/groups/go-daddy-hosting-connection/forum/topic/coppermine-install-undesired-automatic-redirection/