forked from team/site
Add section 'how to set a CGI script as executable'
This commit is contained in:
parent
e39ba1c8ac
commit
efafdde99c
|
@ -82,3 +82,9 @@ print(f"Hello {name}!")
|
||||||
|
|
||||||
remember, anything that can read environment variables and write to stdout can
|
remember, anything that can read environment variables and write to stdout can
|
||||||
be used to make CGI, as long as the server can figure out how to execute it.
|
be used to make CGI, as long as the server can figure out how to execute it.
|
||||||
|
|
||||||
|
##how to set a CGI script as executable
|
||||||
|
The CGI script must be marked as executable in order to actually run. To do this, run the command
|
||||||
|
```
|
||||||
|
chmod +x SCRIPT_NAME.cgi
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue