summaryrefslogtreecommitdiff
path: root/src/configfile.h
Commit message (Collapse)AuthorAgeFilesLines
* [core] replace array weakref with vectorStefan Bühler2016-03-191-1/+1
| | | | | | From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3116 152afb58-edef-0310-8abb-c4023f1b3aa9
* consistent inclusion of config.h at top of files (fixes #2073)Glenn Strauss2016-03-191-0/+1
| | | | | | From: Glenn Strauss <gstrauss@gluelogic.com> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3113 152afb58-edef-0310-8abb-c4023f1b3aa9
* [core] improve conditional enabling (thx Gwenlliana, #2598)Stefan Bühler2016-02-211-0/+3
| | | | | | | | | | | | | | instead of looping over all config blocks for each conditional var that gets enabled, enable them all and run over them once. Right now it seems we actually set all variables at once in normal config handling (SNI only sets a subset); future modifications might introduce new variables which are activated at a later stage (physical path related for example). From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3083 152afb58-edef-0310-8abb-c4023f1b3aa9
* [core] fix conditional cache handlingStefan Bühler2016-02-211-3/+0
| | | | | | | | | | | | | | | - add new "skip" result to mark conditions that didn't actually get evaluated to false but just skipped because the preconditions failed. - add "local_result" for each cache entry to remember whether the condition itself matched (not including the preconditions). this can be reused after a cache reset if the condition itself was not reset, but the preconditions were - clear result of subtree (children and else-branches) when clearing a condition cache From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3082 152afb58-edef-0310-8abb-c4023f1b3aa9
* fixed aggressive caching of conditionals (#41)Jan Kneschke2007-08-181-0/+6
| | | | | | | | | | | $HTTP["url"] =~ "" { cgi.assign = ... } fails if there is a module loaded which is called before uri_clean is set (mod_exforward, mod_rewrite, ...) - merged [1792], [1798], [1807], [1810], [1811] from trunk git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1942 152afb58-edef-0310-8abb-c4023f1b3aa9
* fix merging of auto-indexing element, and make autoload modules hack to use ↵mOo2005-08-231-0/+1
| | | | | | array merging git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@616 152afb58-edef-0310-8abb-c4023f1b3aa9
* added include_shell option to configfiles (merged the rest of the trunk ↵Jan Kneschke2005-08-091-0/+1
| | | | | | changesets) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@530 152afb58-edef-0310-8abb-c4023f1b3aa9
* user defined variable, compute on parsing: string+string, int+int, ↵Jan Kneschke2005-08-081-0/+4
| | | | | | | | | array+array, var+=expression. "include" sub configuration file. (merged ([308], [309], [306], [305]) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@520 152afb58-edef-0310-8abb-c4023f1b3aa9
* added nested conditionals (merged [298])Jan Kneschke2005-08-081-3/+3
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@519 152afb58-edef-0310-8abb-c4023f1b3aa9
* moved everything below trunk/ and added branches/ and tags/Jan Kneschke2005-02-201-0/+18
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9