Scroll to navigation

HTPROXY(1) User Commands HTPROXY(1)

NAME

htproxy - record a HTTP session

SYNOPSIS

htproxy [OPTIONS]

DESCRIPTION

htproxy do record a HTTP session as a httest script

OPTIONS

Print version number and exit
Display usage information (this message)
Port
Destination file, default file is "file"
URL filter regex default is none (blacklist)
Log level 0-4
Variable name for host
Variable name for port
Web application root variable name

-A --host-header-var Variable name for host header value

Socket timeout [ms], default 30000 ms
File with header text
File with trailer text
Cookie variable prefix, default is COOKIE_
Configuration file

Example: htproxy -p 8888 -d init -H HOST -P PORT -u "(.*\.png\;.*$)|(.*\.css\;.*$)|(.*\.ico\;.*$)|(.*\.js\;.*$)"

AUTHOR

Written by Christian Liesch

COPYRIGHT

Copyright © 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

February 2021 htproxy 2.4.23