Skip to content

Commit 13ad098

Browse files
committed
Update docos to mention CGI mode and data: URIs are connected to HTTP/HTTPS support (Issue #547)
1 parent 54c3824 commit 13ad098

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To compile HTMLDOC you'll need C and C++ compilers (clang and gcc are fine)
1212
along with the following libraries:
1313

1414
- FLTK 1.3.x+ for GUI support
15-
- CUPS 2.2+ for HTTP/HTTPS support
15+
- CUPS 2.2+ for HTTP/HTTPS, CGI mode, and "data:" URI support
1616
- libjpeg 7+ or libjpeg-turbo for JPEG support
1717
- libpng 1.6+ or higher for PNG support
1818
- zlib 1.1+ or higher

doc/2-using.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ <h2><a name='CGI'>Using HTMLDOC on a Web Server</a></h2>
122122

123123
<h3>CGI Mode</h3>
124124

125+
<blockquote><b>Note:<b> CGI mode is only available when HTMLDOC is compiled with
126+
HTTP/HTTPS support. The snap and MSI versions of HTMLDOC both include support
127+
for CGI mode and HTTP/HTTPS references.</blockquote>
128+
125129
<p>HTMLDOC supports operation as a CGI program. You can copy or symlink the <var>htmldoc</var> (all but Windows) or <var>htmldoc.exe</var> (Windows) executable to your web server's <var>cgi-bin</var> directory and then use it to produce PDF versions of your web pages.</p>
126130

127131
<p>The CGI converts a page on your local server to PDF and sends it to the client's web browser. For example, to convert a page called <var>superproducts.html</var> at the following URL:</p>

0 commit comments

Comments
 (0)