1*cdf0e10cSrcweirhttpserv
2*cdf0e10cSrcweir============
3*cdf0e10cSrcweirSimple http server for testing of Certificate Revocation Lists (CRL).
4*cdf0e10cSrcweir
5*cdf0e10cSrcweirNetbeans 6.7.1 project. httpserv.jar requires java 6.
6*cdf0e10cSrcweir
7*cdf0e10cSrcweirRun with
8*cdf0e10cSrcweir
9*cdf0e10cSrcweirjava -jar httpserv/dist/httpserv.jar --accept portnumber
10*cdf0e10cSrcweir
11*cdf0e10cSrcweirportnumber: an arbitrary port number to which the server should listen.
12*cdf0e10cSrcweir
13*cdf0e10cSrcweirhttpserv looks for the requested file relativ to the current directory. For
14*cdf0e10cSrcweirexample, you are in a directory which contains the index.html. From there
15*cdf0e10cSrcweiryou run httpserv.jar:
16*cdf0e10cSrcweir
17*cdf0e10cSrcweirjava -jar <path_to_wherever_it_is>/httpserv.jar --accept 8000
18*cdf0e10cSrcweir
19*cdf0e10cSrcweirnow enter in the Browser:
20*cdf0e10cSrcweir
21*cdf0e10cSrcweirlocalhost:8000/index.html
22*cdf0e10cSrcweir
23*cdf0e10cSrcweir
24