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