[users@httpd] What search permissions are missing from where?

2020-04-25 Thread Jeffrey Walton
Hi Everyone, I'm trying to configure a test server on CentOS 7. I'm catching this error in error_log: [Sun Apr 26 00:02:13.215014 2020] [core:error] [pid 14840] (13)Permission denied: [client 172.16.5.26:41746] AH00035: access to /index.html denied (filesystem path '/var/www/html/index.html') bec

[users@httpd] What is a request for dash ("-")?

2020-04-25 Thread Jeffrey Walton
Hi Everyone, My apologies for this lame question. I'm having trouble searching for it. 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 - The reason I ask is, we have a MediaWiki attache

Re: [users@httpd] Apache 2.4.33 on OpenSuSE LEAP 15.1 sends zero-byte images

2020-04-25 Thread David T-G
Julien, et al -- ...and then Julien Etter said... % % Hi David, % Try EnableSendFile Off in apache conf, this doesn't seem to be % supported by opensuse. YIPPEE! That worked; thanks!!! I suppose I should go and google, but I'll take the easy route in case anyone happens to want to point me to

Re: [users@httpd] Only allow reverse proxy traffic with mod_remoteip

2020-04-25 Thread baptx
It worked when using Require in a location, thanks! On Sat, 25 Apr 2020 at 13:41, Yann Ylavic wrote: > On Sat, Apr 25, 2020 at 1:24 PM baptx wrote: > > > > @Yann: About your last reply suggesting Require expr "%{REMOTE_ADDR} != > %{CONN_REMOTE_ADDR}": > > I want to restrict access on some virt

Re: [users@httpd] Only allow reverse proxy traffic with mod_remoteip

2020-04-25 Thread Yann Ylavic
On Sat, Apr 25, 2020 at 1:24 PM baptx wrote: > > @Yann: About your last reply suggesting Require expr "%{REMOTE_ADDR} != > %{CONN_REMOTE_ADDR}": > I want to restrict access on some virtualhosts only because I want to use > some domain names without Cloudflare. > It looks like your previous solut

Re: [users@httpd] Only allow reverse proxy traffic with mod_remoteip

2020-04-25 Thread baptx
@Yann: About your last reply suggesting Require expr "%{REMOTE_ADDR} != %{CONN_REMOTE_ADDR}": I want to restrict access on some virtualhosts only because I want to use some domain names without Cloudflare. It looks like your previous solution with mod_rewrite is better in my case, since Require doe

Re: [users@httpd] Only allow reverse proxy traffic with mod_remoteip

2020-04-25 Thread baptx
I meant == instead of != like you corrected. On Sat, 25 Apr 2020 at 13:08, baptx wrote: > Thanks Yann, it worked. > > I used RemoteIPTrustedProxy instead of RemoteIPTrustedProxyList in > /etc/apache2/conf-available/remoteip.conf (from Cloudflare example: > https://support.cloudflare.com/hc/en-u

Re: [users@httpd] Only allow reverse proxy traffic with mod_remoteip

2020-04-25 Thread baptx
Thanks Yann, it worked. I used RemoteIPTrustedProxy instead of RemoteIPTrustedProxyList in /etc/apache2/conf-available/remoteip.conf (from Cloudflare example: https://support.cloudflare.com/hc/en-us/articles/360029696071-Restoring-original-visitor-IPs-Option-2-Installing-mod-remoteip-with-Apache#1

Re: [users@httpd] Only allow reverse proxy traffic with mod_remoteip

2020-04-25 Thread Yann Ylavic
On Sat, Apr 25, 2020 at 12:24 AM Yann Ylavic wrote: > > On Sat, Apr 25, 2020 at 12:17 AM Yann Ylavic wrote: > > > > Hi, > > > > On Fri, Apr 24, 2020 at 10:49 PM bapt x wrote: > > > > > > Is there a way to have the same functionality as the directive > > > DenyAllButCloudflare from mod_cloudflar

Re: [users@httpd] Apache 2.4.33 on OpenSuSE LEAP 15.1 sends zero-byte images

2020-04-25 Thread Julien Etter
Hi David, Try EnableSendFile Off in apache conf, this doesn't seem to be supported by opensuse. Sent from Outlook Mobile From: David T-G Sent: Saturday, April 25, 2020 3:27:22 AM To: users@httpd.apache.org Subject: [users@httpd] Apache 2.