HERE IS THE FIX !!

It's a simple fix but the real issue is all the URL validation / redirects in the code that caused this (linux / php stuff). I was watching the calls being made by the forums in fiddler and was able to determine the problem. So I wrote this simple redirect in IIS to offset the code.

Forum setup steps in control panel:

1) I entered in the "Full URL to Forum Directory" http://www.domain.com
2) I entered in the "Full URL or Relative URL to Forum Directory" http://www.domain.com not blank but I could of probably did that too.
3) I entered everything else as normal.

Steps in IIS URL Rewrite tool this works on all IIS 7.0 and higher

1) I created a blank rule
2) look at attached screenshot at the rest of the entries

The rule captures the double URL entry made by the code when changing styles (self posting) and redirects it back to the original URL.

http://www.domain.com//www.domain.com =====> http://www.domain.com

I worked on an advanced rule that would allow where you were currently in the forums to have the double entry removed and bring you right back to that spot under the new style. I could not do this as I saw in fiddler that if I passed a URL with variables under the redirect, the forums would immediately over write the URL again via a curl redirect or call. So I had to just bring it back to root URL.

http://www.domain.com//www.domain.com/ubbthreads.php?ubb=postlist&Board=1&page=1 =====> http://www.domain.com

instead of http://www.domain.com/ubbthreads.php?ubb=postlist&Board=1&page=1

It would crash otherwise because of the coded rewrite. If there are any additional Rules needed I will do them and post them on the forum. I might change things a bit to accommodate SSL. Easy addition. Also I can use the [host] variable instead of hard coding the site.

You guys might want to put this in a How To by itself so it doesn't get lost.
Attachments
url-redirect.png


Happy Customer !!!