First things first we need a web server and Apache aint a bad one (maybe the best)
Download Apache from http://www.apache.org/
(Get the latest stable version when these instructions where written 1.3.12 was the latest
stable release. With later versions there may be differences in paths and install procedures.)
|
This is a self extracting exe
|
The instructions assume this goes in c:\program files\apache group\apache.
Select typical install accepting all defaults and this will be done automatically
In fact these instructions will put all the software under c:\program files\apache group\
in various directories. This DOES NOT have to be the case, you can install the software anywhere you want.
Of course following these instructions may get a little fuzzy if you choose not too.
|
Notable files
c:\program files\apache group\apache\conf\httpd.conf - this is the apache configuration file,
its very well documented.
c:\program files\apache group\apache\logs\errors.log - this is the apache error log -
useful for debugging problems later.
|
Did It Work?
There should be a program group 'Apache Web Server' with a start/stop apache icon.
Start Apache, a dos window should open, kick off a browser and goto url http://127.0.0.1/
You should see an html page saying
'If you can see this, it means that the installation of the Apache web server software
on this system was successful. You may now add content to this directory and
replace this page.'
Along with other things - if you want to change things go read the documentation,
follow the link at the bottom of the page
You may as well stop apache now, as we will have to restart it again soon, use stop apache
from the 'Apache Web Server' Group
|
|
This is self extracting, accept all the defaults except for the install directory
|
The instructions assume this goes in
C:\program files\apache group\jdk1.1.8
again this could be anywhere you want
|
|
Download JSDK (Java Servlet Development Kit) from
http://java.sun.com/
 |
Use 2.0, 2.1 will not work according to the apache jserv documentation,
this is subject to changes for later versions
|
|
The instructions assume this goes in
c:\program files\apache group\JSDK2.0
|
|
This is self extracting, accept all the defaults except for the install directory
|
The instructions assume this goes in
c:\program files\apache group\Apache JServ 1.1,
again this could be anywhere you want
|
You will be prompted for the location of the following files
' The java virtual machine' ie where is the java.exe?
c:\program files\apache group\jdk1.1.8\bin
' The directory JSDK 2.0 is installed in '
ie where is jsdk.jar c:\program files\apache group\jsdk2.0\lib
You will be asked if you want to modify the apache httpd.conf file,
select yes, this modifies the apache httpd.conf file to kick off jserv
when apache is brought up. You will be asked for the location of the httpd.conf file.
c:\program files\apache group\apache\conf
|
Notable Files
Apache Jserv extends the apache conf file with
# Include the configuration for Apache JServ 1.1
Include "c:\program files\apache group\Apache JServ 1.1\conf\jserv.conf"
The contents of jserv.conf are included into the httpd.conf (using the include directive,
this is why the jserv install asked you for the location of httpd.conf file).
This separates the jserv directives
(in c:\program files\apache group\Apache JServ 1.1\conf\jserv.conf)
from the apache directives.
We will return here as we need to configure jserv
|
Did jserv install OK?
Start Apache, kick off a browser and goto url http://127.0.0.1/jserv/
Keep the trailing slash. You should see an html jserv configuration page
|
|
|