.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1. .TH HTPROXY "1" "February 2021" "htproxy 2.4.23" "User Commands" .SH NAME htproxy \- record a HTTP session .SH SYNOPSIS .B htproxy [\fI\,OPTIONS\/\fR] .SH DESCRIPTION htproxy do record a HTTP session as a httest script .SH OPTIONS .TP \fB\-v\fR \fB\-\-version\fR Print version number and exit .TP \fB\-h\fR \fB\-\-help\fR Display usage information (this message) .TP \fB\-p\fR \fB\-\-port\fR Port .TP \fB\-d\fR \fB\-\-dest\fR Destination file, default file is "file" .TP \fB\-u\fR \fB\-\-url\-filter\fR URL filter regex default is none (blacklist) .TP \fB\-l\fR \fB\-\-log\-level\fR Log level 0\-4 .TP \fB\-H\fR \fB\-\-host\-var\fR Variable name for host .TP \fB\-P\fR \fB\-\-port\-var\fR Variable name for port .TP \fB\-U\fR \fB\-\-root\-var\fR Web application root variable name .HP \fB\-A\fR \fB\-\-host\-header\-var\fR Variable name for host header value .TP \fB\-t\fR \fB\-\-socket\-tmo\fR Socket timeout [ms], default 30000 ms .TP \fB\-i\fR \fB\-\-header\-file\fR File with header text .TP \fB\-e\fR \fB\-\-trailer\-file\fR File with trailer text .TP \fB\-c\fR \fB\-\-cookie\-prefix\fR Cookie variable prefix, default is COOKIE_ .TP \fB\-C\fR \fB\-\-config\fR Configuration file .PP Example: htproxy \fB\-p\fR 8888 \fB\-d\fR init \fB\-H\fR HOST \fB\-P\fR PORT \fB\-u\fR "(.*\e.png\e;.*$)|(.*\e.css\e;.*$)|(.*\e.ico\e;.*$)|(.*\e.js\e;.*$)" .SH AUTHOR Written by Christian Liesch .SH COPYRIGHT Copyright \(co 2006 Free Software Foundation, Inc. .br This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.