EDIT
Fixed it, there was an old web.config flying around in the mxclientsystem directory. After removing it, it still navigates to index3.html (which I still find strange) but now it actually works.
Now it throws @ index3.html (but it doesn't seem to affect anything):
"NetworkError: 404 Not Found - http://ap17/config.json"
ANd when I enter a wrong login/password I get an internal server error with the following error thrown:
"NetworkError: 500 Internal Server Error - http://ap17/xas/"
Will start looking into that now :-)
EDIT2
The above error has been resolved by removing:
[location path="xas"] [system.webServer] [httpErrors errorMode="Detailed" /] [/system.webServer] [/location]
From the web.config file. Curious to see whether this will cause trouble anywhere else.
/EDIT2
/EDIT
As stated above "it navigates to index3.html, which doesn't exist". (ie. dir/s index3.html returns nothing)
And index.html is configured as the "default document".
Nothing in Mendix log. Nothing in the Windows log.
IIS log after logging in (ie. after succesful login from login.html).
2011-06-08 09:14:16 fe80::2119:5ba5:ef77:210%12 GET / - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 200 0 0 1281 2011-06-08 09:14:16 fe80::2119:5ba5:ef77:210%12 GET /ui/js/logini18n.js - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 0 2011-06-08 09:14:16 fe80::2119:5ba5:ef77:210%12 GET /ui/theme-ebn/login.css - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 0 2011-06-08 09:14:16 fe80::2119:5ba5:ef77:210%12 GET /ui/theme-ebn/images/layout/loginbg.png - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 15 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 POST /xas/ - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 200 0 0 31 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /index3.html - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 200 0 0 62 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /mxclientsystem/dojo/dojo.js - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 62 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /mxclientsystem/mendix/mendix.js - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 62 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /ui/base-ebn.css - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 15 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /ui/theme-ebn/images/layout/toolbar.png - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 0 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /mxclientsystem/dijit/themes/tundra/tundra.css - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 0 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /mxclientsystem/mendix/ui/base.css - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 0 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /mxclientsystem/mendix/ui/tundra.css - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 0 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /ui/theme-ebn/layout.css - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 0 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /ui/theme-ebn/custom.css - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 0 2011-06-08 09:14:20 fe80::2119:5ba5:ef77:210%12 GET /ui/theme-ebn/images/layout/logo.png - 80 - fe80::2119:5ba5:ef77:210%12 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 15 2011-06-08 09:16:28 ::1 GET / - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 200 0 0 1046 2011-06-08 09:16:28 ::1 GET /ui/js/logini18n.js - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 46 2011-06-08 09:16:28 ::1 GET /ui/theme-ebn/login.css - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 0 2011-06-08 09:16:28 ::1 GET /ui/theme-ebn/images/layout/loginbg.png - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 15 2011-06-08 09:16:32 ::1 POST /xas/ - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 200 0 0 15 2011-06-08 09:16:32 ::1 GET /index3.html - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 200 0 0 46 2011-06-08 09:16:32 ::1 GET /mxclientsystem/dojo/dojo.js - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 78 2011-06-08 09:16:32 ::1 GET /mxclientsystem/mendix/mendix.js - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 46 2011-06-08 09:16:32 ::1 GET /ui/base-ebn.css - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 15 2011-06-08 09:16:32 ::1 GET /ui/theme-ebn/images/layout/toolbar.png - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 15 2011-06-08 09:16:32 ::1 GET /mxclientsystem/dijit/themes/tundra/tundra.css - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 15 2011-06-08 09:16:32 ::1 GET /mxclientsystem/mendix/ui/base.css - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 0 2011-06-08 09:16:32 ::1 GET /mxclientsystem/mendix/ui/tundra.css - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 500 19 183 0 2011-06-08 09:16:32 ::1 GET /ui/theme-ebn/layout.css - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 0 2011-06-08 09:16:32 ::1 GET /ui/theme-ebn/custom.css - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 0 2011-06-08 09:16:32 ::1 GET /ui/theme-ebn/images/layout/logo.png - 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+rv:2.0.1)+Gecko/20100101+Firefox/4.0.1 304 0 0 15
You cannot hide the index.html thing.
To navigate automatically to index.html just define it as documentroot. (but my guess is that that is the default already).
Are the internal server errors thrown by IIS or by the Mendix Server? (you should check their logs)
RewriteRule /index3.html /index.html
This kind of rewrite rules can make things really and very confusing when debugging/ deploying the app in the future. Just rename the index3.html file to index.html and you'll have the same effect.
(again, to much for a comment ;-))
So it redirects to index3.html after the login. That probably means that you have an configuration error somewhere (do you use single sign or deeplinking?), or you have an old client somewhere in the cache, which defines index3.html as the client page.
As a work around, I would copy index.html to index3.html instead of rewriting the url. So you at least know whats going on.
If you use IIS 7 ARR (Application Request Routing) is easier to configure.