forked from team/site
1
0
Fork 0

Add section 'how to set a CGI script as executable'

This commit is contained in:
SmokeyDope 2023-03-14 05:12:43 +00:00 committed by Gitea
parent e39ba1c8ac
commit efafdde99c
1 changed files with 6 additions and 0 deletions

View File

@ -82,3 +82,9 @@ print(f"Hello {name}!")
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.
##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
```