add more cgi info
This commit is contained in:
parent
2f46cc7def
commit
12e9442ff5
|
@ -38,13 +38,17 @@ url formats, substituting domain and username:
|
||||||
are served at the addresses described above.
|
are served at the addresses described above.
|
||||||
|
|
||||||
static files are served normally, along with the following dynamic options:
|
static files are served normally, along with the following dynamic options:
|
||||||
* php - name the file with a php extension or use index.php
|
* php - name the file with a .php extension or use index.php
|
||||||
* perl - name the file with a pl extension and make it executable
|
* perl - name the file with a .pl extension
|
||||||
|
* sh/cgi - name the file with a .sh or .cgi extension
|
||||||
|
* python - name the file with a .py extension
|
||||||
|
* lua - name the file with a .lua extension
|
||||||
* cgi-bin - name it whatever you want and place it in `~/public_html/cgi-bin/`
|
* cgi-bin - name it whatever you want and place it in `~/public_html/cgi-bin/`
|
||||||
don't forget to make the cgi-bin script executable
|
don't forget to make the cgi-bin script executable
|
||||||
|
|
||||||
if you're having trouble with .pl or cgi-bin scripts, make sure that you're
|
if you're having trouble with any of these cgi scripts, make sure that the script
|
||||||
sending the content-type header as the first thing.
|
has a correct shebang, is executable, and that you're sending the content-type
|
||||||
|
header as the first thing.
|
||||||
|
|
||||||
## static page generators
|
## static page generators
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue