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:
parent
914f367657
commit
aef04a38e1
10 changed files with 58 additions and 71 deletions
|
|
@ -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" )
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ server.modules = (
|
|||
# "mod_evasive",
|
||||
# "mod_redirect",
|
||||
# "mod_rewrite",
|
||||
# "mod_setenv",
|
||||
"mod_setenv",
|
||||
# "mod_usertrack",
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue