Hi Everyone,
I'm trying to log a few errors in a Apache 2.4 module using
ap_log_error and ap_log_rerror. I have access to the request_rec
struct. One of the arguments to the functions is module_index.
*
https://ci.apache.org/projects/httpd/trunk/doxygen/group__APACHE__CORE__LOG.html#ga83397d991e
On Sun, Apr 26, 2020 at 7:26 AM Yann Ylavic wrote:
>
> On Sun, Apr 26, 2020 at 3:43 AM Jeffrey Walton wrote:
> >
> > What is this request I see in the logs:
> >
> > 186.222.62.229 - - [25/Apr/2020:21:35:18 -0400] "-" 408 -
> > 186.222.62.229 - - [25/Apr/2020:21:35:18 -0400] "-" 408 -
>
> If y
Hi,
On Sun, Apr 26, 2020 at 3:43 AM Jeffrey Walton wrote:
>
> What is this request I see in the logs:
>
> 186.222.62.229 - - [25/Apr/2020:21:35:18 -0400] "-" 408 -
> 186.222.62.229 - - [25/Apr/2020:21:35:18 -0400] "-" 408 -
If you are using the default LogFormat (i.e. "common"), the "-" here
On Sun, Apr 26, 2020 at 6:17 AM Jeffrey Walton wrote:
>
> As far as I can tell, the search permissions are present. Apache has
> access to the file:
>
> # ls -Al /var
> ...
> drwxr-xr-x. 4 root apache 33 Apr 26 00:00 www
> # ls -Al /var/www/
> ...
> drwxr-xr-x. 2 root apache 24 Apr 21 11:20 htm
Is there a way to display an error with a different message than the 403
Forbidden page configured with "ErrorDocument 403"?
This would improve the privacy, otherwise if a website displays a 403 error
on an admin login page restricted by IP address, someone trying to bypass
the reverse proxy will s