I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit b3c06dd7 authored by xalloc xzal's avatar xalloc xzal
Browse files

Added documentation for upload.cgi

parent f154c62f
No related branches found
No related tags found
No related merge requests found
......@@ -115,3 +115,18 @@ lainsafecli sicp.pdf
https://lainsafe.delegao.moe/files/nzOhDKtB.pdf
~~~
# upload.cgi
``upload.cgi``` is the perl script that do all the works. You could
delete index.cgi from your sever and just upload.cgi. You'd upload
files through ```lainsafecli```.
## Configuration
Only one parameter: ```$MAX_SIZE``` specify, in megabytes, the max size of files allowed. So for example. If you want to set 100MBs as max size . ```$MAX_SIZE``` would be like this: ```$MAX_SIZE = 1024*1024*100```
If someone tries to upload a file bigger than 100MBs. It will return
Max size for a file is 100 MBs, then, uploda.cgi will die.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment