Skip to content

aharth/warcmock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

warcmock

Proxy for serving WARC files.

Build the web application archive (war) with Maven:

mvn clean package

Deploy the war file in target/ as the ROOT application of your servlet container (e.g., Apache Tomcat).

You can configure the location of the WARC file in ./src/main/webapp/WEB-INF/web.xml:

<context-param>
   <param-name>warcfile</param-name>
   <param-value>/tmp/archive.warc.gz</param-value>
</context-param>

Then, configure your HTTP user agent to use as proxy the hostname and port on which the servlet container runs (e.g., http://localhost:8080/).

export http_proxy="http://localhost:8080/"

About

Proxy for serving WARC files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages