added: std::wstring Request::subdomain

support for subdomains



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@828 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-04-22 18:23:44 +00:00
parent bcea4f9464
commit baf10a9ba9
17 changed files with 110 additions and 11 deletions

View File

@@ -446,6 +446,7 @@ void App::ReadRequest()
CheckRequestMethod();
CheckFCGIRole();
CheckSSL();
SetSubdomain();
LogAccess();
@@ -531,6 +532,12 @@ void App::CheckSSL()
}
void App::SetSubdomain()
{
CreateSubdomain(config.base_url.c_str(), cur.request->env_http_host, cur.request->subdomain);
}
void App::LogAccess()
{
log.PutDate(log1);