I AM VERY HAPPY TO INFORM YOU THAT WE HAVE SOLVED THE MISTERY.
THE SOLUCION FOR MASKED FORWARDED DOMAINS USING EXTERNAL SCRIPTS
----------
IN MY CASE THE SOLUCION FOR ASP.NET 2.0 / AJAX
1 - download the FOR FREE UrlRewritingNet .UrlRewrite 2.0 Binary from
http://www.urlrewriting.net/en/Download.aspx
2 - read with a smile THE SPLENDED help from
http://meadowsdesign.com/blog/?cat=9
3 - add to your bin directory: UrlRewritingNet .UrlRewriter.dl l
4 - update Web.Config as follows
a) remove section <configSections >
b) add the new section <configSections >
<configSections >
<section name="urlrewrit ingnet"
restartOnExtern alChanges="true "
requirePermissi on ="false"
type="UrlRewrit ingNet.Configur ation.UrlRewrit eSection,
UrlRewritingNet .UrlRewriter" />
</configSections>
5 - add new section below the </configSections>
<urlrewritingne t>
<rewrites>
<add name="WebResour ceFix" virtualUrl="^~/WebResource.axd (.*)"
rewriteUrlParam eter="IncludeQu eryStringForRew rite"
destinationUrl= "~/WebResource.axd $1″”" ignoreCase="tru e"/>
<add name="ScriptRes ource"
virtualUrl="^~/(.*)/ScriptResource. axd(.*)"
rewriteUrlParam eter="IncludeQu eryStringForRew rite"
destinationUrl= "~/ScriptResource. axd$2″”" ignoreCase="tru e"/>
<add name="ReplaceRo ot" virtualUrl="^~/(.*)/(.*)"
rewriteUrlParam eter="IncludeQu eryStringForRew rite" destinationUrl= "~/$2″”"
ignoreCase="tru e"/>
</rewrites>
</urlrewritingnet >
6 - remove the complete section <system.web.ext ensions>
7 - add in the <httpModules>
<add name="UrlRewrit eModule"
type="UrlRewrit ingNet.Web.UrlR ewriteModule, UrlRewritingNet .UrlRewriter" />
¡ THATS ALL ! HAVE A VERY NICE DAY
--
Regards,
André Teunissen
www.solicon.es
"André" wrote:
I have a domain www.lomas21.es.
That domain is masked forwarded, by the server, to the real stuff at
www.solicon.com.es/lomas21/
AJAX is only working:
- When you go to www.solicon.com.es/lomas21/ and clicks "Cinturones ".
AJAX does not work (it rewrites the whole page):
- When you go to www.lomas21.es and clicks "Cinturones ".
It gives only there also a script warning 'Sys' not found.
Yake into account that I am talking about the same files where I can go to
with to URL names.
What I want is that the URL www.lomas21.es is working.
--
Regards,
André Teunissen
www.solicon.es