ããããµã¼ãã§djangoãåãããã¨ã«ãªã£ãã sshã§ãã°ã¤ã³ããã°ã¤ã³ã¹ãã¼ã«ã¾ã§ã¯ã§ãããããã®å¾ã大å¤ã ã¨ããããã¡ã¢ãããã¨ã«ããã MySQLdbã/home/xxx/lib/pythonã«ã¤ã³ã¹ãã¼ã«ãããcgiã§ã¤ã³ãã¼ãã§ããªã site.addsitedirãã¦è§£æ±º site-packagesãããªãã¨ããã«ã¤ã³ã¹ãã¼ã«ãã¦ãã¾ã£ã ã¢ã³ã¤ã³ã¹ãã¼ã«æ¹æ³ãããããªãã®ã§æ¾ç½®ã PATH_INFOããªãã¨ã©ã¼ os.environ['PATH_INFO'] = os.environ.get('PATH_INFO',"/")ãdjango.cgiã®æå¾ã®æ¹ã«è¿½å ã¢ããªã±ã¼ã·ã§ã³ã®urlãxxx/以ä¸ã«é ç½®ããã¨adminã§ãã°ã¤ã³å¾ã«xxx/ããªããªã .htaccessã®ãªãã¤ã¬ã¯ã·ã§ã³ã®è¨å®ãå¤æ´ããï¼urls.pyããããã¦ç´ã RewriteRule ^xxx
{{#tags}}- {{label}}
{{/tags}}