wwwroot Q

  • Thread starter Thread starter BattleAngel444
  • Start date Start date
B

BattleAngel444

Morning Ya'all

I have just included iis compents in TD, specifically iis web server.
when i make my image it will create the typical inetpub\wwwroot
directory with iisstart.asp and localstart.asp. so when i go to
another machine and launch a webrowser to http://ip_addres it will the
typical "under construction" asp page. so i have created a compenent
in CD to that will place a custom web site in the inetpub\wwwroot
directory, your typical index.html and resource folders and files. but
the problem arises when i go back to the web browser and go to
http://ip_addres it will still load the "under construction" asp page
and not the index.html. is there some part of the iis component that i
need to modify? or a registry value that i need to change? or possible
a command that needs to get run to link the index.html?

thanks for your time
BA4^3
 
Hi BattleAngel. If you're attempting to change the appearance of the main
website (wwwroot\default.asp, http://server), keep in mind that by default,
the order of precedence for default pages is:

Default.htm
Default.asp
index.htm
iisstart.asp

IIS will display the first page in this list that it comes across, so if
your custom website is based on, say, index.html (note .html and not .htm),
that page will not be displayed at all. If you include index.htm and want
that to be the first page a user sees, you will need to remove Default.htm
and Default.asp (if they exist) before your page will be seen by the user.
You can also replace Default.htm or Default.asp with a page that simply
redirects to your desired start page.

This is the solution that requires the least changes and doesn't require any
IIS admin changes or any tweaks to the registry. Hope this helps.

--
Matt Kellner ([email protected])
STE, Windows Embedded Group

This posting is provided "AS IS" with no warranties, and confers no rights.
===============================
 
Back
Top