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

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

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/