);
}
else {
- Hdr->HR.DontNeedAuth = 1; /* Flat request? show him the login screen... */
- StrBuf *NewLine = NewStrBufPlain(HKEY("GET /readfwd?go="));
- StrBufUrlescAppend(NewLine, Buf, NULL);
- StrBufAppendBufPlain(NewLine, HKEY(" HTTP/1.0"), 0);
+ /* If this is a "flat" request for the root, display the configured landing page. */
+ Hdr->HR.DontNeedAuth = 1;
+ StrBuf *NewLine = NewStrBufPlain(HKEY("GET /landing HTTP/1.0"));
syslog(LOG_DEBUG, "Replacing with: %s", ChrPtr(NewLine));
int return_value = ReadHttpSubject(Hdr, NewLine, Buf);
FreeStrBuf(&NewLine);