forked from amazingfate/loongoffice
(cherry picked from commit efc6346ef6a3a9b618979230036d877149ce0d7d) Change-Id: I983b106ef46bd9b95f6ef12d3c2432d604dd08a8
25 lines
638 B
Plaintext
25 lines
638 B
Plaintext
httpserv
|
|
============
|
|
Simple http server for testing of Certificate Revocation Lists (CRL).
|
|
|
|
Netbeans 6.7.1 project. httpserv.jar requires java 6.
|
|
|
|
Run with
|
|
|
|
java -jar httpserv/dist/httpserv.jar --accept portnumber
|
|
|
|
portnumber: an arbitrary port number to which the server should listen.
|
|
|
|
httpserv looks for the requested file relativ to the current directory. For
|
|
example, you are in
|
|
$(SRC_ROOT)/xmlsecurity/$(INPATH)/httpserv/dist/javadoc,
|
|
a directory which contains the index.html. From there you run httpserv.jar:
|
|
|
|
java -jar <path_to_wherever_it_is>/httpserv.jar --accept 8000
|
|
|
|
now enter in the Browser:
|
|
|
|
localhost:8000/index.html
|
|
|
|
|