Home
last modified time | relevance | path

Searched refs:docroot (Results 1 – 21 of 21) sorted by relevance

/lighttpd1.4/src/
H A Dmod_vhostdb_mysql.c130 static int mod_vhostdb_mysql_query(request_st * const r, void *p_d, buffer *docroot) in mod_vhostdb_mysql_query() argument
139 buffer *sqlquery = docroot; in mod_vhostdb_mysql_query()
168 buffer_clear(docroot); /*(reset buffer; no result)*/ in mod_vhostdb_mysql_query()
172 buffer_clear(docroot); /*(reset buffer to store result)*/ in mod_vhostdb_mysql_query()
178 buffer_copy_string(docroot, row[0]); in mod_vhostdb_mysql_query()
H A Dhttp_cgi.c179 const buffer * const bd = (opts->docroot) in http_cgi_headers()
180 ? opts->docroot in http_cgi_headers()
196 if (opts->docroot) { in http_cgi_headers()
198 buffer_copy_path_len2(tb, BUF_PTR_LEN(opts->docroot), in http_cgi_headers()
203 BUF_PTR_LEN(opts->docroot)); in http_cgi_headers()
H A Dmod_vhostdb_pgsql.c110 static int mod_vhostdb_pgsql_query(request_st * const r, void *p_d, buffer *docroot) in mod_vhostdb_pgsql_query() argument
118 buffer *sqlquery = docroot; in mod_vhostdb_pgsql_query()
147 buffer_clear(docroot); /*(reset buffer to store result)*/ in mod_vhostdb_pgsql_query()
159 buffer_copy_string(docroot, PQgetvalue(res, 0, 0)); in mod_vhostdb_pgsql_query()
H A Dmod_vhostdb_dbi.c168 static int mod_vhostdb_dbi_query(request_st * const r, void *p_d, buffer *docroot) in mod_vhostdb_dbi_query() argument
177 buffer *sqlquery = docroot; in mod_vhostdb_dbi_query()
207 buffer_clear(docroot); /*(reset buffer to store result)*/ in mod_vhostdb_dbi_query()
218 buffer_copy_string(docroot, dbi_result_get_string_idx(result, 1)); in mod_vhostdb_dbi_query()
H A Dhttp_cgi.h17 const buffer *docroot; member
H A Dmod_vhostdb_ldap.c394 static int mod_vhostdb_ldap_query(request_st * const r, void *p_d, buffer *docroot) in mod_vhostdb_ldap_query() argument
406 buffer *filter = docroot; in mod_vhostdb_ldap_query()
446 buffer_clear(docroot); /*(reset buffer to store result)*/ in mod_vhostdb_ldap_query()
460 buffer_copy_string_len(docroot, vals[0]->bv_val, vals[0]->bv_len); in mod_vhostdb_ldap_query()
H A Dmod_vhostdb.c49 vhostdb_cache_entry_init (const buffer * const server_name, const buffer * const docroot) in vhostdb_cache_entry_init() argument
52 const uint32_t dlen = buffer_clen(docroot); in vhostdb_cache_entry_init()
61 memcpy(ve->document_root, docroot->ptr, dlen); in vhostdb_cache_entry_init()
H A Dgw_backend.h169 const buffer *docroot; member
H A Dmod_scgi.c183 http_cgi_opts opts = { 0, 0, host->docroot, NULL }; in scgi_create_env()
H A Dgw_backend.c1417 host->docroot = cpv->v.b; in gw_set_defaults_backend()
2266 if (host->docroot) { in gw_authorizer_ok()
2267 buffer_copy_buffer(&r->physical.doc_root, host->docroot); in gw_authorizer_ok()
2268 buffer_copy_buffer(&r->physical.basedir, host->docroot); in gw_authorizer_ok()
2270 BUF_PTR_LEN(host->docroot), in gw_authorizer_ok()
H A Dmod_fastcgi.c241 host->docroot, in fcgi_create_env()
H A Dmod_ajp13.c564 host->docroot, in ajp13_create_env()
/lighttpd1.4/doc/outdated/
H A Dfastcgi.txt104 "docroot" => <string> , # OPTIONAL if "mode"
111 "x-sendfile-docroot" => <boolean>, # optional
131 :"docroot": is optional and is the docroot on the remote
134 to docroot for authorized requests. For security
135 reasons it is recommended to keep this docroot
150 :"x-sendfile-docroot": list of directory trees permitted with X-Sendfile
186 "docroot" => "/" # remote server may use
187 # it's own docroot
208 "docroot" => "/path_to_private_docs",
213 Note that if "docroot" is specified then its value will be
H A Dmagnet.txt100 * lighty.env["physical.path"] = "/my-docroot/search.php"
102 * lighty.env["physical.doc-root"] = "/my-docroot"
187 magnet.attract-physical-path-to = server.docroot + "/readme.lua"
204 magnet.attract-physical-path-to = server.docroot + "/maintenance.lua"
223 magnet.attract-physical-path-to = server.docroot + "/flv-streaming.lua"
379 magnet.attract-raw-url-to = server.docroot + "/counter.lua"
H A Dplugins.txt60 called at the end of the logical path handle to get a docroot
188 called when a docroot is needed
H A Dconfiguration.txt355 the docroot plugins.
/lighttpd1.4/tests/
H A Drequest.t971 my $docroot = $tf->{'TESTDIR'}."/tmp/lighttpd/servers/www.example.org/pages";
975 my $f = "$docroot/index.html";
976 my $l = "$docroot/index.xhtml";
981 $f = "$docroot/expire";
982 $l = "$docroot/symlinked";
H A DMakefile.am39 SUBDIRS=docroot subdir
/lighttpd1.4/
H A DREADME77 - protecting docroot
H A DNEWS830 * [core] construct file path after docroot hook
936 * [tests] move tests/docroot/www contents up 1 level
2622 * [tests] mark tests/docroot/www/*.pl scripts a+x
2755 * [mod_cgi] edge case chdir "/" when docroot "/" (fixes #2460)
3766 * fixed check for docroot in change-root environments
4122 * added a "docroot" setting for fastcgi processes
H A Dconfigure.ac1656 tests/docroot/Makefile \