summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-04 20:09:04 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-04 20:09:04 +0200
commitcbfc28a946ded64e9402e1e6d32511150339ec72 (patch)
treebec1e30fdd97e99e88a7b168f3cad7278b59157e /config.h
parent1fcaed7a34cce8e55bb071d503bb583f715e7d37 (diff)
Prepare DocRoot(), WIP
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index a8d6a03..0f5ec78 100644
--- a/config.h
+++ b/config.h
@@ -70,6 +70,9 @@ class Config
const std::vector<Site>& Sites() const;
const std::vector<Socket>& Sockets() const;
+ /// param[in] requested_host e.g. www.domain.com:8080 or www.domain.com
+ std::string DocRoot(const Socket& socket, const std::string& requested_host, const std::string& requested_path);
+
void dump() const;
};