Port to Python 3.

All scripts and modules have been ported to Python 3 and appear to
work.  Some changes to the lighttpd configuration were needed.
This commit is contained in:
John "Elwin" Edwards 2013-12-31 13:36:19 -05:00
parent 914f367657
commit aef04a38e1
10 changed files with 58 additions and 71 deletions

View file

@ -13,7 +13,7 @@ server.modules += ( "mod_cgi" )
## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini.
##
cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/python",
".cgi" => "",
".rb" => "/usr/bin/ruby",
".erb" => "/usr/bin/eruby",
".py" => "/usr/bin/python" )

View file

@ -451,3 +451,7 @@ server.upload-dirs = ( "/var/tmp" )
#include_shell "cat /etc/lighttpd/vhosts.d/*.conf"
##
#######################################################################
setenv.add-environment = (
"LC_CTYPE" => "en_US.utf8"
)

View file

@ -48,7 +48,7 @@ server.modules = (
# "mod_evasive",
# "mod_redirect",
# "mod_rewrite",
# "mod_setenv",
"mod_setenv",
# "mod_usertrack",
)