『さくらインターネット』レンタルサーバのユーザディレクトリ上に入れたPython2.7.16で動作

環境変数

変数名
CONTEXT_DOCUMENT_ROOT/home/furyu-tei/www/
CONTEXT_PREFIX
DOCUMENT_ROOT/home/furyu-tei/www/
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODINGgzip
HTTP_ACCEPT_LANGUAGEen-US,en;q=0.5
HTTP_HOSTfuryu-tei.sakura.ne.jp
HTTP_LISTEN_IPADDR219.94.128.238
HTTP_USER_AGENTCCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_PROTOhttp
HTTP_X_REAL_IP35.173.47.43
LD_LIBRARY_PATH/home/furyu-tei/lib
LIBRARY_PATH/home/furyu-tei/lib
PATH/usr/local/bin:/usr/bin:/bin
PYTHONHOME/home/furyu-tei
PYTHONPATH/home/furyu-tei/lib/python
QUERY_STRING
REMOTE_ADDR35.173.47.43
REMOTE_HOSTec2-35-173-47-43.compute-1.amazonaws.com
REMOTE_PORT52018
REQUEST_METHODGET
REQUEST_SCHEMEhttp
REQUEST_URI/junk/python/test-py27_userdir.cgi
SCRIPT_FILENAME/home/furyu-tei/www/junk/python/test-py27_userdir.cgi
SCRIPT_NAME/junk/python/test-py27_userdir.cgi
SERVER_ADDR100.64.0.47
SERVER_ADMINsupport@sakura.ad.jp
SERVER_NAMEfuryu-tei.sakura.ne.jp
SERVER_PORT80
SERVER_PROTOCOLHTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWAREApache

lxmlの試行(『さくらのレンタルサーバ | 高速・安定WordPressなら!無料2週間お試し』(http://www.sakura.ne.jp/)上リンクのURL)