This is the code in httpreq.cpp after modify
int HttpReq::parseMethod(const char *pCur, const char *pBEnd)
{
if ((m_method = HttpMethod::parse2(pCur)) == 0)
return SC_400;
if (m_method == HttpMethod::HTTP_HEAD)
m_iNoRespBody = 1;
if ((m_method <...
I implemented the change in cpp code for CORS.
How this php code should sound, i mean what should i write to replace the ALLOWED ORIGIN, ALLOWED HEADERS.
if($_SERVER['HTTP_ORIGIN'] == "ALLOWED ORIGIN")
{
header('Access-Control-Allow-Headers: ALLOWED HEADERS')...
As i can read from log, there is public cache instead of private: 2016-01-04 18:14:16.794 [DEBUG] [ip:7209:HTTP2-3#www:lsapi] [Module-Cache]save to public cachestore, uri:www/wp-admin/tools.php
1.4.x i only configured at server level. I cannot find context cache thing.
Update: found it, actions view module. URI: /$VH_ROOT/html/wp-admin but i get same cache on non logged user as logged user
Thank you for support,
First problem: i want to cache public entire website, but cache private wp-admin because users not logged in receive cache from users logged in. I dont understand your method.
Second: I receive this error again: Font from origin 'https://www' has been blocked from...
Hello,
I have a wordpress installed and im using last version of openlitespeed on ubuntu.
My problem is that i want to cache everything public ( that i made ) but wp-admin i want to cache private because admin bar and login informations appear at other people. Is there something else i need to...