File: README.cgi

package info (click to toggle)
gatling 0.13-6
  • links: PTS
  • area: main
  • in suites: sid, stretch
  • size: 1,196 kB
  • ctags: 1,115
  • sloc: ansic: 23,805; makefile: 143; sh: 71; perl: 30
file content (20 lines) | stat: -rw-r--r-- 699 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Gatling now has primitive CGI support.

To use it, touch ".proxy" in the root of the virtual host, for example

  $ touch default/.proxy

and then start gatling with -C and a regex by which to detect CGIs:

  # gatling -C '\.cgi'

You can also tell gatling to consider all executable files CGI programs:

  # gatling -C+x

Then, even index.html will be run as CGI if it is executable, allowing
for example a dynamically generated homepage on http://example.com/
without index.html having to do a lame redirect.  In this mode, gatling
will do a primitive check and only run CGIs that have the ELF magic
(i.e. look like an ELF binary) or the Shebang (#!, i.e. look like a
shell/perl/whatever script).