1*b1cdbd2cSJim Jagielskihttpserv
2*b1cdbd2cSJim Jagielski============
3*b1cdbd2cSJim JagielskiSimple http server for testing of Certificate Revocation Lists (CRL).
4*b1cdbd2cSJim Jagielski
5*b1cdbd2cSJim JagielskiNetbeans 6.7.1 project. httpserv.jar requires java 6.
6*b1cdbd2cSJim Jagielski
7*b1cdbd2cSJim JagielskiRun with
8*b1cdbd2cSJim Jagielski
9*b1cdbd2cSJim Jagielskijava -jar httpserv/dist/httpserv.jar --accept portnumber
10*b1cdbd2cSJim Jagielski
11*b1cdbd2cSJim Jagielskiportnumber: an arbitrary port number to which the server should listen.
12*b1cdbd2cSJim Jagielski
13*b1cdbd2cSJim Jagielskihttpserv looks for the requested file relativ to the current directory. For
14*b1cdbd2cSJim Jagielskiexample, you are in
15*b1cdbd2cSJim Jagielski$(SRC_ROOT)/xmlsecurity/$(INPATH)/httpserv/dist/javadoc,
16*b1cdbd2cSJim Jagielskia directory which contains the index.html. From there you run httpserv.jar:
17*b1cdbd2cSJim Jagielski
18*b1cdbd2cSJim Jagielskijava -jar <path_to_wherever_it_is>/httpserv.jar --accept 8000
19*b1cdbd2cSJim Jagielski
20*b1cdbd2cSJim Jagielskinow enter in the Browser:
21*b1cdbd2cSJim Jagielski
22*b1cdbd2cSJim Jagielskilocalhost:8000/index.html
23*b1cdbd2cSJim Jagielski
24*b1cdbd2cSJim Jagielski
25