Compare commits

...

2 Commits

Author SHA1 Message Date
SmokeyDope 33a7ff19a1 fix layout 2023-03-14 05:15:05 +00:00
SmokeyDope 1191cda861 Add section 'how to set a CGI script as executable' 2023-03-14 05:12:43 +00:00
1 changed files with 10 additions and 0 deletions

View File

@ -82,3 +82,13 @@ 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 make the script executable, run this command:
```
chmod +x SCRIPT_NAME.cgi
```