mirror of
https://github.com/tildeclub/site.git
synced 2026-04-24 15:00:17 +00:00
Clarify language requirement for CGI executables
Binary executable without an extension are sent to the client like any other file. Adding a .cgi extension makes the web server run the executable.
This commit is contained in:
@@ -190,8 +190,8 @@ of your Tilde.club home directory,
|
|||||||
with appropriate file extension;
|
with appropriate file extension;
|
||||||
and also make sure that the thing is **world-readable** _and_ **world-executable**
|
and also make sure that the thing is **world-readable** _and_ **world-executable**
|
||||||
(something like <q>`chmod +rx YOURFILE.EXT`</q> would do).
|
(something like <q>`chmod +rx YOURFILE.EXT`</q> would do).
|
||||||
If you use other language that compiles to a binary executable,
|
If you use another language that compiles to a binary executable, use a `.cgi` extension
|
||||||
just world-executable permission will suffice.
|
and just world-executable permission will suffice.
|
||||||
|
|
||||||
The URL for accessing a CGI program from a web browser
|
The URL for accessing a CGI program from a web browser
|
||||||
is no different from accessing
|
is no different from accessing
|
||||||
|
|||||||
Reference in New Issue
Block a user