bashでcgi Posted: 2019-07-30 | Categories: bash | Tags: bash, cgi bash で cgi かける。 ただセキュリティ的に良くないので、外部からアクセスできない場所でのみ使えると思う。 #!/bin/sh cat - <<%%EOF Content-type: text/html <html> <body>cgi-test(/cgi-bin)test.hoge.com</body> </html> %%EOF Read more...
bashでcgi Posted: 2019-07-30 | Categories: bash | Tags: bash, cgi bash で cgi かける。 ただセキュリティ的に良くないので、外部からアクセスできない場所でのみ使えると思う。 #!/bin/sh cat - <<%%EOF Content-type: text/html <html> <body>cgi-test(/cgi-bin)test.hoge.com</body> </html> %%EOF Read more...