Aparajita, I changed to:
Root = <default>/web/dir1 Default page = <default>Index.html Then I tested using the path: http://192.168.2.1/index.html This worked, indicating the Root assignment was correct. Then I removed the <default> from the Default Page assignment in Active4D.ini and used only: Default page = index.html ...and the Index.html loaded correctly when referencing http://192.168.2.1 Thanks for guiding me in the right direction! David Ringsmuth -----Original Message----- From: Aparajita Fishman [mailto:[email protected]] Sent: Monday, January 25, 2010 4:08 PM To: [email protected]; Active4D Developer Discussion List Subject: Re: [Active4d-dev] Default Page? > I'm installing a new site. The default page does not display when > the server > root is requested: > > http://192.168.2.1 > > This should display the default page but it does not. > > The page displays fine when the full path is referenced. > > http://192.168.2.1/dir1/Index.html > Active4D.ini: > > Root = <default>/web/ > > Default page = <default>/dir1/Index.html Please read the comments in Active4D.ini a little more closely. It says: "If a user requests a directory without a filename, a default file within that directory is served. This option determines the names of the files to try." Note that it says "a default file ***within that directory*** is served." If you ask for http://192.168.2.1/, that is the root directory (/web), NOT /web/dir1. Change the root to <default>/web/dir1, and default page to Index.html. Kind regards, Aparajita www.aparajitaworld.com "If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoy.org _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
