New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSCache and CWP CageFS at no extra cost with all CWPpro licences. The LSCache plugin is integrated into our WordPress and other script installers, and CWP CageFS gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to Escape Double Quotes (") in ViewerLogs?

Started by bruman, January 17, 2021, 11:53:47 PM

Previous topic - Next topic

bruman

In the `viewlogs` module / "CWP->Log Viewer"

In my `access log` I am trying to search for 500 Status Errors, ie:

```2xx.1xx.xx.xx - - [17/Jan/2021:06:07:34 -0500] "GET /example/ HTTP/1.1" 500 45342 "https://example.com/example/" "Mozilla User Agent"```

Putting in the `Search Term` box

`HTTP/1.1" 500`
`\" 500"
`" 500`
`" 500`

Nothing works, it just ignores the double quote.
Is it possible to escape double quotes in the `Search Term`? Or how can I modify the search to return results that includes `HTTP/1.1" 500`with the double quote messing up the search query?