120 Commits (master)
 

Author SHA1 Message Date
Solderpunk 92cd40db12 Allow access and error logging to stdout by configuring a path of "-". 8 months ago
Solderpunk e06f8bddbc Fix infinite redirect bug. 8 months ago
Solderpunk 3d4d830e98 Merge pull request 'Add "AUTH_TYPE" environment variable when client cert is present' (#14) from khuxkm/molly-brown:master into master 9 months ago
Solderpunk 2e4a10297e Merge pull request 'Don't include port in REMOTE_ADDR' (#18) from makeworld/molly-brown:master into master 9 months ago
makeworld 99ba34c2b7 Merge branch 'master' into master 9 months ago
makeworld e0e0cf7dd6 Don't include port in REMOTE_ADDR 9 months ago
Solderpunk 34e05cc0b5 Merge pull request 'Use io.Copy over ioutil.ReadFile' (#17) from makeworld/molly-brown:master into master 9 months ago
makeworld c6c6e544d6 Use io.Copy over ioutil.ReadFile 9 months ago
Robert Miles 06ae7c0442 Add "AUTH_TYPE" environment variable when client cert is present 10 months ago
Solderpunk 48f9a206c0 Merge pull request 'Added more details on the OpenBSD setup and pointed molly-brown.openbsd.example to the default molly.conf.' (#12) from kvothe/molly-brown:master into master 1 year ago
kvothe. d71b43f35c Added more details on the OpenBSD setup and pointed molly-brown.openbsd.example to the default molly.conf. 1 year ago
Solderpunk 02dc6a82c6 Add trailing slash to subdirectory links in directory listings. 1 year ago
Solderpunk b26fb875a7 Fix configuration option name typo in README. Thanks, acdw! Closes #11. 1 year ago
Solderpunk 62b22a9471 Mention OpenBSD support, add example init script. 1 year ago
Solderpunk 2e510328ef Fix serious bug whereby config changes made in .molly files apply everywhere and persist until server restart! 1 year ago
Solderpunk 7d8bacdc90 Log stderr from CGI processes which exit with non-zero status to the error log. Closes #7. 1 year ago
Solderpunk b9334e07a9 Fix bug with long filenames or titles. 1 year ago
Solderpunk 48aed1398d Log remote IP address when reading a request fails. 1 year ago
Solderpunk 2241302856 Order log columns more sensibly and drop port from remote addresses. 1 year ago
Solderpunk e547818455 Remove unused import. 1 year ago
Solderpunk 37e177fbe0 Move .molly file parsing function into config.go. 1 year ago
Solderpunk 3cd4a072fd More and better error logging. 1 year ago
Solderpunk f7e588dfae More and better error logging. 1 year ago
Solderpunk 821a862036 Use standard library logging facilities for error log. 1 year ago
Solderpunk 3c4c447bd3 Broader config file error handling. 1 year ago
Solderpunk 54f659c03f Add example OpenRC script, and put all init examples in a contrib directory. 1 year ago
Solderpunk 2a263e5e70 Rewrite SCGI support to use prefixes, not regexps, and provide the same SCRIPT_PATH / PATH_INFO break as CGI. 1 year ago
Solderpunk d87ecfd20f gofmt. 1 year ago
Solderpunk f4f14320df Expand CGI path globs once on startup, not for each request. 1 year ago
Solderpunk 35bf4d16c3 Handle all requests which don't involve the filesystem before all which do. 1 year ago
Solderpunk 9bce54882a Consolidate some quick-failing path tests. 1 year ago
Solderpunk 36378eb1c6 Make sure CGI files are world-readable as well as world-executable. 1 year ago
Solderpunk f291e5863c Enforce certificate zones before anything else. 1 year ago
Solderpunk 4ae154faed Convert CGIPath handling from regexs to prefixes. 1 year ago
Solderpunk cc5410494e Handle redirects using regular expressions, not just literal paths. 1 year ago
Solderpunk b30fc0923b Handle CGI requests with URI components after the script. 1 year ago
Solderpunk 68398ef0be Extensive refactor, trying to keep the main request handling function relatively simple. 1 year ago
Solderpunk fd31094cb6 Allow .molly files to set certificate zones. 1 year ago
Solderpunk 702cc73a63 Add redirect members to Molly File struct. Should have been part of an earlier commit! 1 year ago
Solderpunk 35f58f50e7 Correct README to indicate that redirects are not done using regular expressions but literal path matches. 1 year ago
Solderpunk 1794ff643b Allow .molly files to configure redirects. 1 year ago
Solderpunk d7663ab688 Removing debugging print. 1 year ago
Solderpunk e43fc7877c Big rearrange: resolve URL to filesystem earlier, so we can check for .molly files ASAP, so that they can handle redirects, certificate zones, etc. 1 year ago
Solderpunk 990b7071d0 gofmt fixes. 1 year ago
Solderpunk 44af303de6 Fix silly mistake in hasty port checking fix. 1 year ago
Solderpunk 4c27911e8f Check that request port matches configured server port. Should fix #9. 1 year ago
Solderpunk b0fd07f58a Provide full coverage of settings in example.conf. 1 year ago
Solderpunk 6c8e11c9ed Change default port in example.conf 1 year ago
Solderpunk 4dbe52adf8 Permit .molly files to specify MIME overrides. 1 year ago
Solderpunk 520e1ecc95 Big documentation push. 1 year ago