summaryrefslogtreecommitdiff
path: root/src/libexec/httpd.c
Commit message (Collapse)AuthorAgeFilesLines
* added support for a few more env vars for CGIs to use.epochqwert2015-05-181-25/+37
|
* elapsedtime handles partial seconds betterepochqwert2015-04-231-2/+14
| | | | | | | | | | | unescape now handles multiple lines from stdin clump can now have an optional argument to specify input separator cuturl can now take compressed short options. (like: cuturl -dPs) filemon... I don't remember. just reformatted it looks like. ipconvert. looks like I added explainations before output. normalpath now uses getenv("PWD") instead of getcwd() so you can pick what you want to be the base for relative paths. urcdump... nothing I guess. probably a space or something dumb. httpd... more environment variables set for CGIs
* some new tools. clump is useful. httpd got some better logging. cuturl got ↵epochqwert2015-02-061-2/+45
| | | | some bugfixes I think. todo is just a version of segfault's !todo but for shell. don't remember what I did to telnet-gateway.sh
* updated tsize to not generate warningsepochqwert2015-01-171-0/+4
| | | | added a timeout for httpd to accept requests of 10 seconds.
* fuck if I know. I was just going to add the gateway. >_>Epoch Qwert2015-01-111-2/+10
|
* all those .c changes were mostly fixes of warnings for the change in ↵Epoch Qwert2014-12-301-1/+1
| | | | | | | | rebuild.sh being changed to use -Wall. gethostbyname was almost completely rewritten to work better with ipv6 for gopherd.sh gopherd.sh was rewritten to use gethostbyname instead of dig and to cut out any link-local interface indicators from the output of hop0 and to ignore an error if ipA -> hostname -> ipB causes ipA to be not the same as ipB. Don't remember if there's anything else.
* ident.sh to make ident queries easier to use in scripts.Epoch Qwert2014-12-091-1/+1
| | | | | | | gopherd.sh changed to use new output of peerip. peerip changes to output peer's port on second line. httpd changed... I dunno what. AOEU and aoeu to help with playing with dvorak.
* updated httpd.c to use different dirs for sites and vhostsEpoch Qwert2014-11-271-5/+29
| | | | | | | updated gopherd.sh to use the new rdns script rdns script just wraps dig -x and outputs a real hostname instead of one ending with a '.' rebuild.sh got a cd added to the top so it can be run from somewhere else mime-type got an error line commented out.
* fixed gopherd's LFI and added excuting files.Epoch Qwert2014-10-231-4/+9
| | | | | | | | httpd had flushing issues. realpath is new! does what it says. gives absolute path of a file. deddos, peerip, peerip.pl, were laying around elsewhere. gethostbyname got a new trick. can do decimal addresses among other things. hop0 is a shell script that gets what IP will be put on the source address of outgoing packets sent to $1. rtfs.
* updated rebuild.sh to work better with libexec and bin instead of just bin.Epoch Qwert2014-10-211-0/+117
added epochttpd 2