Update README to be more up to date
This commit is contained in:
parent
0b63f049b3
commit
2f9478399e
3
README
3
README
|
@ -1,5 +1,6 @@
|
||||||
|
!!! Don't use this, it's bad and doesn't implement gopher protocol correctly !!!
|
||||||
It serves gopher, duh.
|
It serves gopher, duh.
|
||||||
Modify lines 37 and 38 to configure.
|
Modify lines 37 and 38 to configure.
|
||||||
Will automatically attempt to execute anything with execute bit (except directories).
|
Will automatically attempt to execute anything with execute bit (except directories).
|
||||||
Requires Python 2, as Python 3's string handling it just weird.
|
Requires Python 2, as the code is bad.
|
||||||
Also responds to HTTP queries.
|
Also responds to HTTP queries.
|
||||||
|
|
|
@ -35,9 +35,9 @@ import threading
|
||||||
import time
|
import time
|
||||||
|
|
||||||
# Config
|
# Config
|
||||||
port = 7070
|
port = 7777
|
||||||
gopherroot = os.environ['HOME']+'/gopher'
|
gopherroot = os.environ['HOME']+'/gopher'
|
||||||
blacklistfile = os.environ['HOME']+'/gopher_blacklist'
|
blacklistfile = os.environ['HOME']+'/gopher_blacklist_1'
|
||||||
|
|
||||||
# Set up socket
|
# Set up socket
|
||||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
|
|
Loading…
Reference in New Issue