mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2026-12-04 08:18:50 +00:00
1 parent
5ed22ebc9d
commit
4e2ea2cc99
8 files changed
+9
-9
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Droopy (http://stackp.online.fr/droopy)
|
||||
|
||||
@@ -52,7 +52,7 @@ include "/opt/piratebox/conf/lighttpd/env"
|
||||
|
||||
#----------- cgi.conf --------------
|
||||
$HTTP["url"] =~ "^/cgi-bin/" {
|
||||
cgi.assign = ( ".py" => "/usr/bin/python" )
|
||||
cgi.assign = ( ".py" => "/usr/bin/python2" )
|
||||
}
|
||||
|
||||
## Warning this represents a security risk, as it allow to execute any file
|
||||
@@ -60,7 +60,7 @@ $HTTP["url"] =~ "^/cgi-bin/" {
|
||||
#
|
||||
#cgi.assign = (
|
||||
# ".pl" => "/usr/bin/perl",
|
||||
# ".py" => "/usr/bin/python",
|
||||
# ".py" => "/usr/bin/python2",
|
||||
#)
|
||||
|
||||
$HTTP["url"] =~ "^/board/" {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
# Library to write the current disk usage
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
# Modificated ShoutBox Library (C)2013-2014
|
||||
# enables further modifications for the ShoutBox
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
"""
|
||||
Script: Forest, a simple Python forum script.
|
||||
Author: Andrew Nelis (andrew.nelis@gmail.com)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
# Disk Write
|
||||
# Writes the total freespace to an HTML file.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
# PyShoutOut by Joey C. (http://www.joeyjwc.x3fusion.com)
|
||||
# Read the data from a shout-out file.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
# PyShoutOut by Joey C. (http://www.joeyjwc.x3fusion.com)
|
||||
# Writes the recieved information to the data file.
|
||||
|
||||
Reference in new issue
Block a user