Ok I tried the code but still no luck.. has same problem.. once your in a subdomain the web browser sub domains every link unless they are absolute full urls.
Well other then try to deal with a mess of url rewrites I finally came up with a possible solution but MonoX is making this solution a little harder to implement then I thought because MonoX has some things set that I am worried about just changing...
the solution is fairy simple..
I want to detect it using the page load event and then use redirect from the primary page.
My MonoX configuration by default though is showing default aspx error messaages when the url rewrites fail.
I tried setting a error page to my own but then the pass through that is currently set prevents it from even working.
I dont want to just remove it because I am not sure how that would effect MonoX.
What I am trying to do is after all the url rewrites have failed.
I want do them apply my own code in a aspx file somewhere.. in this case maybe a custom error aspx page..
That will then go a step more, and detect if the page url is a music page and then response.redirct.. the logic of this is simple.
any thing with domain/bla is a music page.. so forward it to /music/bla and surpress the error page.
Something so simple as this if put in the correct location would then make the redirects work.
So I am thinking some simple logic at this point to redirect might work.
protected override void OnLoad(EventArgs e)
string url = Request.Url.AbsoluteUri.Split('/');
foreach (string part in url)
System.Diagnostics.Debug.Write(part + Environment.NewLine);
Any idea on how to implement this ?