This is where you should put the home page for your server. Note that
this file is named index.htm, the default name for a "directory
index" document. When a client asks for
http://your.host/, it will
find this document and display your home page. Rename this file and then create
your home page as index.htm
.
The Common Log Format requires that times be recorded in GMT. Therefore, httpd must know what timezone your computer's local clock is set for. The TZ environment variable is used for this purpose.
Add a line to your AUTOEXEC.BAT to set the TZ variable. Within the US, the syntax is as follows:
SET TZ=sssndddwhere sss is the 3-letter abbreviation for your standard timezone (e.g. EST), n is the standard time offset of your timezone from GMT (e.g. for Eastern, 5), and ddd is the 3-letter abbreviation for your daylight time (if your state has daylight time, e.g., for Eastern, EDT). For example:
SET TZ=EST5EDT SET TZ=MST7 <== for Arizona, no daylight time
VBRUN300.DLL
The demo page and many examples in the documentation require
the server to run back-end programs compiled with Visual Basic. These
executables requires the VB runtime library VBRUN300.DLL
to be in
your Windows "system" directory. The server does not need the Visual
Basic library!
The demo page and many examples in the documentation require the server to run back-end scripts in a DOS window. They will fail if you don't have enough environment space. Add a line
CommandEnvSize=8192to the
[NonWindowsApp]
section of SYSTEM.INI
.
Some WinSock packages are missing functionality needed for servers that do non-blocking I/O. Others have bugs in this same area. If you have problems, add "-n" to your server's command line and try again. This disables multi-threading and increases the load placed on your system by the server. Use it only if absolutely necessary!.
C:\HTTPD
, it is most likely ready to run without
any further configuration needed.
Turn on automatic downloading of inline GIF images now. Start your server. Then have a look at this demonstration, which illustrates some of the great features of the NCSA httpd for Windows package.
Since this is a new installation, please browse the online documentation for your server. There is a lot of useful information in the online docs, including tutorials on HTML, the language used to construct Web documents, URL's, the addressing scheme used for documents, access and authorization, and much much more.