Re: [users@httpd] Apache error logs of module "proxy_ajp" is not converting to JSON format

2024-04-21 Thread Eric Covener
On Sun, Apr 21, 2024 at 7:57 AM Priyanshi Shah wrote: > > Hi, > > We have converted our Apache error logs to JSON format by defining the format > in httpd.conf file > > ErrorLogFormat "{"timestamp":"%{u}t", "ApacheModule": "%m", "level":"%l", > "ApacheProcessId": "%P", "ApacheThreadId": "%T",

Re: [users@httpd] better configtest

2024-04-17 Thread Eric Covener
> What is the point of not starting httpd if there is an issue with a single > virtual host? This gives the best feedback to the user that the config couldn't be honored. - To unsubscribe, e-mail:

Re: [users@httpd] better configtest

2024-04-16 Thread Eric Covener
tion failed. This is when the collected config is acted upon, which is not really within line-by-line mode. Normally there's a preceding error message with more details, maybe in a vhost-specific error log? -- Eric Covener cove...@gmail.com

[users@httpd] CVE-2024-24795: Apache HTTP Server: HTTP Response Splitting in multiple modules

2024-04-04 Thread Eric Covener
Severity: low Affected versions: - Apache HTTP Server 2.4.0 through 2.4.58 Description: HTTP Response splitting in multiple modules in Apache HTTP Server allows an attacker that can inject malicious response headers into backend applications to cause an HTTP desynchronization attack.

[users@httpd] CVE-2023-38709: Apache HTTP Server: HTTP response splitting

2024-04-04 Thread Eric Covener
Affected versions: - Apache HTTP Server through 2.4.58 Description: Faulty input validation in the core of Apache allows malicious or exploitable backend/content generators to split HTTP responses. This issue affects Apache HTTP Server: through 2.4.58. Credit: Orange Tsai (@orange_8361)

[users@httpd] CVE-2024-27316: Apache HTTP Server: HTTP/2 DoS by memory exhaustion on endless continuation frames

2024-04-04 Thread Eric Covener
Severity: moderate Affected versions: - Apache HTTP Server 2.4.17 through 2.4.58 Description: HTTP/2 incoming headers exceeding the limit are temporarily buffered in nghttp2 in order to generate an informative HTTP 413 response. If a client does not stop sending headers, this leads to

Re: [users@httpd] HTTPD Github latest release

2024-04-03 Thread Eric Covener
On Wed, Apr 3, 2024 at 1:06 PM Aditya Shastri wrote: > > Hello, > > One of my pipelines triggered when the github apache httpd tags were > created for 2.4.59-rc1-candidate (the next one on the list after the > previous 2.4.59) and 2.4.55. > > I wonder if there was an issue with the 2.4.55 release

Re: [users@httpd] RewriteMap and patterns

2024-03-09 Thread Eric Covener
Might have to prefix with %{DOCUMENT_ROOT} On Sat, Mar 9, 2024 at 11:48 AM Eric Covener wrote: > > Try without [PT]. > > On Sat, Mar 9, 2024 at 11:17 AM Dave Wreski > wrote: > > > > Hi, > > > > I think the issue is that mod_proxy uses r->f

Re: [users@httpd] RewriteMap and patterns

2024-03-09 Thread Eric Covener
; I'm not sure I understand what that means - do you have a recommendation for > how I should configure this instead? > > dave > > > -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr..

Re: [users@httpd] RewriteMap and patterns

2024-03-08 Thread Eric Covener
/content/view/161567 > HTTP/1.1" 404 2983 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 > (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" X:"SAMEORIGIN" 0/932130 > 1690/11576/2983 H:HTTP/1.1 > U:/news/hackscracks/historic-hacker-attack-on-eba

Re: [users@httpd] RewriteMap and patterns

2024-03-07 Thread Eric Covener
o > > If I replace [PT] with [L,R=301] it successfully loads the destination link, > but I'm concerned I may be creating an additional redirect. What's the proper > way to do this in my case? > > -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] working with a reverse proxy

2024-02-27 Thread Eric Covener
> What would a best practice of 'informing' the proxyhost about that it is > being proxied and it should send the defaulthost hostname? can try https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypreservehost - To

Re: [users@httpd] AH10224: tunnel timed out

2024-02-07 Thread Eric Covener
On Tue, Feb 6, 2024 at 3:09 PM Holzhaus,Joe wrote: > > Hi, > > > > We are using it as a proxy server to just pass thru data. We started getting > this message about a month ago and not able to track down the culprit and not > sure how to stop it. Any troubleshooting tips would be helpful. > >

Re: [users@httpd] graceful-stop closes established connections without response

2024-01-29 Thread Eric Covener
> > It seems to me If there is no such LB/VIP that stops new connections > > from landing on this server, the new option should be avoided. > > Correct. > > > But if there is such a LB/VIP, the option is not really needed. Is it fair? > > The patch helps in this case because we no longer close

Re: [users@httpd] graceful-stop closes established connections without response

2024-01-29 Thread Eric Covener
> Maybe I wasn't clear enough but this patch makes sense only if there > is something in place that prevents new connections from arriving at > the stopping httpd children processes (like a frontend/load-balancer > or a tcp/bpf filter), otherwise they may never really stop which does > not help

Re: [users@httpd] graceful-stop closes established connections without response

2024-01-27 Thread Eric Covener
> apache2: 2.4.56-1~deb11u2, prefork MPM, mod_perl I think it's a large window on prefork where this can happen. If any process is busy processing a request, it cannot close its copy of the listening socket. The OS will continue to complete TCP connections and acknowledge (some) data with nobody

Re: [users@httpd] Re: Issues with test framework against OpenSSL 3.2

2024-01-26 Thread Eric Covener
> > The key here is the "unknown ca", failing the handshake, either because > > the trust chain is broken somehow or the certs need to be generated now > > in a different way with OpenSSL 3.2. I looked at ./t/conf/ssl/ca/asf/certs/ca.crt on the last system I ran the framework on, and it seems to

Re: [users@httpd] If statement against AUTHENTICATE_memberOf variable created by authnz_ldap

2024-01-26 Thread Eric Covener
> So the first question is: Is it normal that I have to use mod_rewrite to > check for group membership ? I tried hundred of syntaxes with SetEnvIf > or SetEnvIfExpr but I never managed to get it working. I'm not sure why > but I guess it's somehow related to "race condition" (lazy evaluation) >

Re: [users@httpd] Apache/php Compression not enabled

2024-01-24 Thread Eric Covener
If you put gibberish in the .htaccess, do you get a 500 error or do things still work? It's a quick test of whether it's being loaded or not for your request. Do you use mod_php or something fastcgi based? I think some of the fastcgi methods do not work with htaccess.

Re: [users@httpd] [httpd2.4.57]Possible conflicts between VHosts with SSL and LimitRequestLine

2024-01-21 Thread Eric Covener
> > >> >> Is there any "permeability" between vhosts ? is there any precedence that >> could cause this vhost to be considered as the "master" of some options? >> Could anyone lead me to wha I am doing wrong? >> > Yes, the "default vhost" for a set of name based hosts has its configuration applied

Re: [users@httpd] [httpd2.4.57]Possible conflicts between VHosts with SSL and LimitRequestLine

2024-01-21 Thread Eric Covener
The hostname, normally in the Host header, is not read until after the request line. So it cannot be effectively set in name based vhosts. The manual already warns about it On Sun, Jan 21, 2024, 9:26 AM Florent Thomas wrote: > Hi everyone, > > I'm running : > *Server version: Apache/2.4.57

Re: [users@httpd] Rewrite query string?

2024-01-04 Thread Eric Covener
> However, this change is not reflected in the Location bar in my browser. You can append the 'R' flag if you need it to redirect. Otherwise, just the internal representation is changed. RewriteRule ^ %{REQUEST_URI}?search=%1 [NC,L,R]

Re: [users@httpd] Rewrite query string?

2024-01-04 Thread Eric Covener
> RewriteRule ^/search$ %{REQUEST_URI}?search=%1 [NC,L] probably should restrict to /search as edited - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Rewrite query string?

2024-01-04 Thread Eric Covener
titution will replace the existing query - %1 is the first capture in the preceding condition -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Still have messed up TLS

2023-11-22 Thread Eric Covener
On Wed, Nov 22, 2023 at 10:30 PM John wrote: > > Thanks for the reply Aditya. > > The version of openssl is: openssl-3.0.7-6.el9_2.x86_64 > > the version of mod_ssl is: mod_ssl-2.4.53-11.el9_2.5.x86_64 > > The result of openssl ciphers -s -v tlsv1_3 is: > TLS_AES_256_GCM_SHA384 TLSv1.3

Re: [users@httpd] HTTPD site update for ApacheHaus EOS

2023-11-22 Thread Eric Covener
gt; To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Connection TLS Error

2023-11-19 Thread Eric Covener
On Sun, Nov 19, 2023 at 3:15 PM John wrote: > > On Sun, 2023-11-19 at 14:35 -0500, Eric Covener wrote: > > On Sun, Nov 19, 2023 at 2:31 PM John wrote: > > > > > > When I try to connect to Apache (2.4.53) using TLS 1.3 I get a browser > &g

Re: [users@httpd] Connection TLS Error

2023-11-19 Thread Eric Covener
On Sun, Nov 19, 2023 at 2:31 PM John wrote: > > When I try to connect to Apache (2.4.53) using TLS 1.3 I get a browser error: > Error code: SSL_ERROR_RX_RECORD_TOO_LONG(Firefox) What does your SSL-enabled virtualhost look like?

Re: Re: Re: [users@httpd] Unable to unset Set-Cookie response header=

2023-11-14 Thread Eric Covener
On Tue, Nov 14, 2023 at 3:11 PM Luigi Bellio wrote: > > Hi Rainer, > > I tried also in this way but the "Set-Cookie" response header is present. > > I did further tests ... the response header is set also when returning > static resources, for example > > Set-Cookie: >

Re: [users@httpd] Unable to unset Set-Cookie response header

2023-11-14 Thread Eric Covener
Set-Cookie" returned by the proxied backend is > not unset and is returned to client. What is missing? > > Thanks for your support? > > Luigi Bellio. -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Inquiry about apache httpd compile option

2023-09-20 Thread Eric Covener
at 2:27 AM (대학원생) 양성현 (컴퓨터공학과) wrote: > > I appreciate you for your response. > > I understand that some ./configure flags can affect the httpd executable. > > May I know some examples which ./configure flag affects the httpd executable? > ____ > 보

Re: [users@httpd] Inquiry about apache httpd compile option

2023-09-18 Thread Eric Covener
> Does apache httpd binary depend on the compile options? It may, but a change to a ./configure flag will not necessarily affect the httpd executable. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional

Re: [users@httpd] allow general access after 1 auth

2023-08-12 Thread Eric Covener
> Yes, that would be mod session and it’s related modules No, that doesn't satisfy the following: > If someone authenticates on https://www.example.com/webapp, the url is > available for everyone. -- Eric Covener cove...@gmail.com

Re: [users@httpd] Cannot authenticate (after six years)

2023-07-20 Thread Eric Covener
On Thu, Jul 20, 2023 at 9:08 AM Andrew Hoff wrote: > > Hello, > > Strange problem. Everything was going great for at least six years then all > of a sudden authentication using port 80 failed. Authentication using port > 443 works fine. > I first noticed the problem because apache no longer

Re: [users@httpd] config - how are multiple VirtualHost directives for the same address handled?

2023-06-30 Thread Eric Covener
On Fri, Jun 30, 2023 at 5:49 AM David Balazic wrote: > > Hi! > > How does apache httpd 2.4 handle multiple VirtualHost directives for the same > address ? There is no virtual host merging. It should be a simple test. - To

Re: [users@httpd] Contribution to Apache HTTP Server Project

2023-06-27 Thread Eric Covener
mail. > > Best regards, > Mohamad > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org -- Eric Covener cove...@gmail.com - To u

Re: [users@httpd] node.js application listening on port 8000 enabled with SSL certificate returns ERR_SSL_PROTOCOL_ERROR on browser.

2023-06-21 Thread Eric Covener
On Wed, Jun 21, 2023 at 1:45 PM Kaushal Shriyan wrote: > > Hi, > > When I hit http://nodejs.mydomain.com:8000/demo/index.html (without ssl) it > works with port number using the below httpd config file. Is there a way to > enable SSL connections? > > httpd.conf file configuration > #cat

Re: [users@httpd] Apache service reported path is invalid

2023-06-07 Thread Eric Covener
On Tue, Jun 6, 2023 at 5:33 AM Ravi Chandra wrote: > > Hi, > >We are using the Apache2.4.57 version on one of the servers. Here we have > facing an issue when we add the external drive to the config file. Kindly > find the below error message which we found in the EventViewer. > > The

Re: [users@httpd] Keepalive closing connections prematurely on high load on newer httpd versions

2023-05-24 Thread Eric Covener
On Wed, May 24, 2023 at 7:46 AM Mateusz Kempski wrote: > > They are all identical VMs. We can also reproduce this on bigger > servers. I don't think this is caused by Rocky or Ubuntu config. I can > see 2 problems during my tests. > 1. httpd does not add any servers when test is running. It kills

Re: [users@httpd]

2023-05-13 Thread Eric Covener
On Sat, May 13, 2023 at 11:03 AM Marc wrote: > > How do I get that the file (docroot)/images/favicon.ico is not loaded from > the disk but instead from the /tmp/os-favicon.ico? Use the Alias directive. https://httpd.apache.org/docs/2.4/urlmapping.html

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Eric Covener
On Mon, May 8, 2023 at 1:22 PM sebb wrote: > > Another issue is that there is no link to the syntax to be used for > the various conditions. > > For example, how does on express a file/path test or a string comparison? > AFAICT the only example is for a regex, though that is not made explicit.

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Eric Covener
On Mon, May 8, 2023 at 10:29 AM Daniel Gruno wrote: > > On 2023-05-08 08:44, Eric Covener wrote: > > On Mon, May 8, 2023 at 9:41 AM Frank Gingras wrote: > >> > >> Sebb, > >> > >> Are you sure about that? I would verify before we venture to clari

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Eric Covener
On Mon, May 8, 2023 at 9:41 AM Frank Gingras wrote: > > Sebb, > > Are you sure about that? I would verify before we venture to clarify the docs. I think sebb is right, I've occasionally had to try to weirdly propagate it or delay/combine it. In a rule or condition, the captures of the preceding

Re: [users@httpd] Error in APR files

2023-05-07 Thread Eric Covener
On Sun, May 7, 2023 at 9:55 AM John Iliffe wrote: > > Thanks Frank. > > What I did was: > wget https://apr.apache.org/download.cgi/apr-1.7.4.tar.bz2 Maybe this redirected to a download mirror URL in the past, but it doesn't now and this URL isn't on the website. The website links to

Re: [users@httpd] Possible to add timestamp to application logs (e.g. stderr)?

2023-04-29 Thread Eric Covener
On Sat, Apr 29, 2023 at 2:54 PM sebb wrote: > > Is it possible to add a timestamp prefix to messages logged by an > application, e.g. to stderr? > > I was hoping that ErrorLogFormat would do this, but it seems that only > applies to messages logged by the server. stderr inside the server itself

Re: [users@httpd] Re: [EXTERNAL] Re: [users@httpd] OCSP Stapling Configuration Setup

2023-04-24 Thread Eric Covener
> > I have added tracing and see that the OCSP is revoked. I guess my question > is, if the certificate is revoked, should Apache deny access to the > website? Because it is still allowing access even though the OCSP server > mentions that it's revoked. > Is there anything in the docs that

Re: [users@httpd] SetEnvIf and exceptions

2023-04-12 Thread Eric Covener
> > One other question - is there an order of processing the .htaccess in the > document root and the virtual host config? Are they both processed > together, or does one take precedence over the other? > If VirtualHost is the only enclosing scope, it is processed earlier so it has lower

Re: [users@httpd] SetEnvIf and exceptions

2023-04-11 Thread Eric Covener
supersedes the previous > Require. > > With the last Require commented out, it works as expected (blocking all > bots listed in the SetEnvIf), with the exception that it also restricts > libwww access to the RSS feeds. > I don't follow the full intended logic, but if SOMENAME2 is required for access but can never be set due to the regex, I don't think there is necessarily something more to it. -- Eric Covener cove...@gmail.com

Re: [users@httpd] SetEnvIf and exceptions

2023-04-11 Thread Eric Covener
On Tue, Apr 11, 2023 at 9:29 AM Dave Wreski wrote: > > Hi, > > On 4/10/23 11:48 PM, Tatsuki Makino wrote: > > Dave Wreski wrote on 2023/04/11 10:54: > > SetEnvIf user-agent "(?i:TurnitinBot)" stayout=1 > SetEnvIf Request_URI "^linuxsecurity_features\.*$" !stayout > > I have done it in the past,

Re: [users@httpd] SetEnvIf and exceptions

2023-04-10 Thread Eric Covener
> > .htaccess: negative Require directive has no effect in > directive > Ah, I guess you'll have to restore the RequireAll and its contents.

Re: [users@httpd] SetEnvIf and exceptions

2023-04-08 Thread Eric Covener
l granted leaving just "Require not env stayout" 2. Ditch the RewriteRule and do a second SetEnvIf for the exception (SetEnvIf Request_URI linuxsecurity_features\.xml$ !stayout" -- Eric Covener cove...@gmail.com

Re: [users@httpd] mod_ldap SNI ? Google LDAP server ?

2023-04-05 Thread Eric Covener
On Wed, Apr 5, 2023 at 9:28 AM Eric Covener wrote: > > On Wed, Apr 5, 2023 at 9:19 AM David Tkacik > wrote: > > > > Hello :) > > > > I’m running Apache/2.4.55 with mod_ldap.x86_64 2.4.55-1.amzn2 > > > > I’m trying to make to work

Re: [users@httpd] mod_ldap SNI ? Google LDAP server ?

2023-04-05 Thread Eric Covener
On Wed, Apr 5, 2023 at 9:19 AM David Tkacik wrote: > > Hello :) > > I’m running Apache/2.4.55 with mod_ldap.x86_64 2.4.55-1.amzn2 > > I’m trying to make to work the ldap over SSL to LDAP provided by Google. But > unfortunately no success. > Via plain LDAP using stunnel all works as expected. But

Re: [users@httpd] old gen workers sticking around post 2.4.49

2023-03-23 Thread Eric Covener
A few weird things: - the old gen should not be able to accept new connections - generally if it's left running, I would want to look at what threads were left running (pstack or often better the few gdb commands here: https://httpd.apache.org/dev/debugging.html#backtrace). Often something will

Re: [users@httpd] CVE-2023-25690: Apache HTTP Server: HTTP request splitting with mod_rewrite and mod_proxy

2023-03-13 Thread Eric Covener
On Mon, Mar 13, 2023 at 7:38 AM Thomas Åkesson wrote: > > > Try e.g. [R,B= ?,...] > > The question mark is to avoid the issue of not being able to have " " > as the final character in this syntax. > >>> > >> > >> Sorry, the above doesn't work. Someone reported in another

Re: [users@httpd] CVE-2023-25690: Apache HTTP Server: HTTP request splitting with mod_rewrite and mod_proxy

2023-03-11 Thread Eric Covener
On Fri, Mar 10, 2023 at 5:56 PM Eric Covener wrote: > > > > Try e.g. [R,B= ?,...] > > > > > > The question mark is to avoid the issue of not being able to have " " > > > as the final character in this syntax. > > > > Sorry, the

Re: [users@httpd] CVE-2023-25690: Apache HTTP Server: HTTP request splitting with mod_rewrite and mod_proxy

2023-03-10 Thread Eric Covener
> > Try e.g. [R,B= ?,...] > > > > The question mark is to avoid the issue of not being able to have " " > > as the final character in this syntax. > Sorry, the above doesn't work. Someone reported in another thread: [R,B=\ ] > Thanks for the suggestion. I am unable to make 2.4.52 (Ubuntu) accept

Re: [users@httpd] CVE-2023-25690: Apache HTTP Server: HTTP request splitting with mod_rewrite and mod_proxy

2023-03-10 Thread Eric Covener
On Fri, Mar 10, 2023 at 8:56 AM Thomas Åkesson wrote: > > Hi, > > We are experiencing the effect that a RewriteRule resulting in R (redirect) > are blocked (403) with AH10410 despite being encoded before 2.4.56 (the > resulting Location header was ok). Is this change intentional? > > Example: >

[users@httpd] CVE-2023-27522: Apache HTTP Server: mod_proxy_uwsgi HTTP response splitting

2023-03-07 Thread Eric Covener
Severity: moderate Description: HTTP Response Smuggling vulnerability in Apache HTTP Server via mod_proxy_uwsgi. This issue affects Apache HTTP Server: from 2.4.30 through 2.4.55. Special characters in the origin response header can truncate/split the response forwarded to the client.

[users@httpd] CVE-2023-25690: Apache HTTP Server: HTTP request splitting with mod_rewrite and mod_proxy

2023-03-07 Thread Eric Covener
Severity: important Description: Some mod_proxy configurations on Apache HTTP Server versions 2.4.0 through 2.4.55 allow a HTTP Request Smuggling attack. Configurations are affected when mod_proxy is enabled along with some form of RewriteRule or ProxyPassMatch in which a non-specific

Re: [users@httpd] Apache is unable to access /tmp in any way

2023-02-15 Thread Eric Covener
> ErrorLog entry: I mean the contents of the log. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache is unable to access /tmp in any way

2023-02-15 Thread Eric Covener
> Except for anything under /tmp. > > I always get 403 Forbidden for that. > What's the verbatim ErrorLog entry for it? - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail:

Re: [users@httpd] problem configuring https

2023-02-11 Thread Eric Covener
On Sat, Feb 11, 2023 at 1:38 PM Phil Kemp wrote: > > I have followed and consulted many of the online resources for configuring > https access to my website. > > > > I still cannot get https to work. > > > > I get that my website is unreachable. Test with a command-line client that gives you

Re: [users@httpd] cannot use cache in forward proxy configuration

2023-02-09 Thread Eric Covener
On Thu, Feb 9, 2023 at 7:31 AM Antony Stone wrote: > > On Thursday 09 February 2023 at 12:24:44, bc BC wrote: > > > Thanks for your suggestion > > > > 1) yes, but same issue > > > > 2) i just tried now, and cache remains empty, and no log about caching on > > debug mode > > I would recommend

Re: [users@httpd] Bug autoconf

2023-02-03 Thread Eric Covener
On Fri, Feb 3, 2023 at 10:07 AM David Lopez wrote: > > It seems we have to find a common ground on what we are talking about. > > 1. Latest Apache version is 2.4.55, whose date is 2023-01-17, and can be > downloaded from > https://dlcdn.apache.org/httpd/httpd-2.4.55.tar.bz2 > > 2. Latest version

Re: [users@httpd] Bug autoconf

2023-02-02 Thread Eric Covener
On Thu, Feb 2, 2023 at 1:31 PM David Lopez wrote: > > Dear Eric, I thought so too. But as I said, it can be tested with LATEST > official download packages/releases available. What we both saw was not a > definite solution. Thanks for your kind comment. 1.7.1 wasn't released when you tested.

Re: [users@httpd] Bug autoconf

2023-02-02 Thread Eric Covener
On Sun, Jan 29, 2023 at 9:56 AM David Lopez wrote: > > This is a very subtle bug that has been around in latest software since a few > months ago. In different forums you will see it reported in different > packages of different kinds of software and manufacturers. > > Concretely in Apache we

Re: [users@httpd] cannot use cache in forward proxy configuration

2023-01-24 Thread Eric Covener
> > > Le mar. 24 janv. 2023 à 16:32, Eric Covener a écrit : >> >> > CacheEnable disk / >> >> https://httpd.apache.org/docs/2.4/mod/mod_cache.html#cacheenable >> >> I think you need a non-/ argument here for forward proxy >> >> --

Re: [users@httpd] cannot use cache in forward proxy configuration

2023-01-24 Thread Eric Covener
> CacheEnable disk / https://httpd.apache.org/docs/2.4/mod/mod_cache.html#cacheenable I think you need a non-/ argument here for forward proxy - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional

Re: [users@httpd] Meaning of RewriteRules in adjacent sections

2023-01-20 Thread Eric Covener
> The text seems rather to imply that the description/example is supposed to be > as it is, > but then the behaviour described is somewhat "counter-intuitive", i.e., I > don't see how > I could have deduced it from the descriptions of RewriteOptions and . > The description of RewriteOptions

Re: [users@httpd] Apache (php) Average process size with Event module

2023-01-20 Thread Eric Covener
> In others servers with apache 2.2.34 (for example) and Prefork module the > Average process size (MB) is around 80. > Now, with event module is around 250-500 (see below) > Threads Per Child 25 Should be about 25 times fewer processes for the same workload, so comparing the average per

[users@httpd] CVE-2022-37436: Apache HTTP Server: mod_proxy prior to 2.4.55 allows a backend to trigger HTTP response splitting

2023-01-17 Thread Eric Covener
Severity: moderate Description: Prior to Apache HTTP Server 2.4.55, a malicious backend can cause the response headers to be truncated early, resulting in some headers being incorporated into the response body. If the later headers have any security purpose, they will not be interpreted by

[users@httpd] CVE-2022-36760: Apache HTTP Server: mod_proxy_ajp Possible request smuggling

2023-01-17 Thread Eric Covener
Severity: moderate Description: Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') vulnerability in mod_proxy_ajp of Apache HTTP Server allows an attacker to smuggle requests to the AJP server it forwards requests to. This issue affects Apache HTTP Server Apache HTTP

[users@httpd] CVE-2006-20001: Apache HTTP Server: mod_dav out of bounds read, or write of zero byte

2023-01-17 Thread Eric Covener
Severity: moderate Description: A carefully crafted If: request header can cause a memory read, or write of a single zero byte, in a pool (heap) memory location beyond the header value sent. This could cause the process to crash. This issue affects Apache HTTP Server 2.4.54 and earlier.

Re: [users@httpd] Server won't direct to Internal IP address

2023-01-05 Thread Eric Covener
On Thu, Jan 5, 2023 at 7:51 PM jason kerr wrote: > > I have a wood pellet boiler that is connected via ethernet cable to my home > router. I can access the boiler to perform various functions whilst on the > local LAN but not externally. There is no way to password protect this page > so I

Re: [users@httpd] Session persist in apache

2022-12-20 Thread Eric Covener
On Tue, Dec 20, 2022 at 10:08 AM vicky chb wrote: > > Is there anyway we can store session data at apache level, also is it going > to store the user credentials at apache level? Yes, you can store and retrieve session data in Apache. But your backend application can't read or write to it, so

Re: [users@httpd] Session persist in apache

2022-12-20 Thread Eric Covener
On Tue, Dec 20, 2022 at 9:38 AM vicky chb wrote: > > Login is happening at the backend Application which is configured with > Keycloak. The architecture looks like below > > Backend App <-> Apache <---openidconnect---> keycloak > > So, whenever User visits the website, the request goes to Apache

Re: [users@httpd] Session persist in apache

2022-12-20 Thread Eric Covener
On Tue, Dec 20, 2022 at 8:57 AM vicky chb wrote: > > Hi, > > We have Apache configured as Frontend web server for our backend java > application over ajp protocol and using mod_jk. Now, we want to maintain the > user session for some period of time, > > For ex: If a user is logged in using his

Re: [users@httpd] RewriteRule and md5 (or expressions)

2022-12-10 Thread Eric Covener
On Sat, Dec 10, 2022 at 7:49 AM Eric Covener wrote: > > > I thought of setting a variable with SetEnvIfExpr, or with RewriteCond, > > but they're not designed for that and I don't think that's possible. > > I think the SetEnvIfExpr way is the way to go. Whoops, I missed

Re: [users@httpd] RewriteRule and md5 (or expressions)

2022-12-10 Thread Eric Covener
> I thought of setting a variable with SetEnvIfExpr, or with RewriteCond, > but they're not designed for that and I don't think that's possible. I think the SetEnvIfExpr way is the way to go. - To unsubscribe, e-mail:

Re: [users@httpd] Confusing (incorrect?) documentation for AuthzProviderAlias

2022-12-03 Thread Eric Covener
On Sat, Dec 3, 2022 at 5:13 PM sebb wrote: > > On Sat, 3 Dec 2022 at 20:39, Eric Covener wrote: > > Thanks for the speedy reply. > > > > > On Sat, Dec 3, 2022 at 3:21 PM sebb wrote: > > > > > > The documentation for AuthzProviderAlias [1] looks wro

Re: [users@httpd] Apache serving a page that doesn't exist

2022-12-03 Thread Eric Covener
> It appears that php-fpm didn't get a whack at the page before it was served, > even though the page is valid and the extension is ".php". It would seem that > Apache treated the page using the initial extension (.html) instead of the > linked page extension (.php) Apache doesn't use the link

Re: [users@httpd] Apache serving a page that doesn't exist

2022-12-03 Thread Eric Covener
omers have bookmarked pagex.html so I would like to have this link for > them. > > Any ideas of what I have forgotten? > > Thanks in advance. > > John > == > > - > To unsubscribe, e-mail: users-unsubs

Re: [users@httpd] Confusing (incorrect?) documentation for AuthzProviderAlias

2022-12-03 Thread Eric Covener
On Sat, Dec 3, 2022 at 3:21 PM sebb wrote: > > The documentation for AuthzProviderAlias [1] looks wrong. > > AFAICT including 'Require all granted' means that anyone can access > the directory. > This is borne out by my local testing. That is odd and should not be in the example, even in such a

Re: [users@httpd] Lua r:requestbody() removes HTTP request body

2022-11-29 Thread Eric Covener
On Tue, Nov 29, 2022 at 10:45 AM bruno.mendoza wrote: > > > Hi, > > I trying to read every HTTP request message body (Apache httpd > 2.4.5/Debian 9.5) where content type is equal to 'text/xml'. For this > purpose I use a Lua handler script during the request translation phase > using the

Re: [users@httpd] Mod_rewrite too many redirects

2022-11-24 Thread Eric Covener
On Thu, Nov 24, 2022 at 8:09 AM vicky chb wrote: > > Hi, > > I am trying to achieve below redirection rule: > http://localhost/?1234ab > this url should be redirected to below url: > http://localhost/welcome?trackFor=0=1234ab > (where welcome?trackFor=0trackNo= always remains same) > > Here you

Re: [users@httpd] Error AH03490: scoreboard is full, not at MaxRequestWorkers.Increase ServerLimit

2022-11-23 Thread Eric Covener
> Should I adjust /etc/logrotate.d/apache2 to restart instead of reload? How many entries for Apache logs are there, and how frequently do they rotate in logrotated? I think there's a trick to batch them if there's very many. But it sounds like it's constantly doing rotation.

Re: [users@httpd] Error AH03490: scoreboard is full, not at MaxRequestWorkers.Increase ServerLimit

2022-11-22 Thread Eric Covener
On Tue, Nov 22, 2022 at 6:15 PM Mike Dewhirst wrote: > Can anyone suggest some mpm_event.conf settings for a lightly loaded > DigitalOcean Ubuntu 2022.04 LTS droplet with 8GB of RAM and a "dedicated > CPU"? > > I just had to restart Apache which crashed around 22:22 UTC. There is 8Mb > of the

Re: [users@httpd] firefox shows default site page

2022-11-11 Thread Eric Covener
On Fri, Nov 11, 2022 at 8:27 AM wrote: > > Hello > > # rm -f 000-default.conf > # service apache2 restart > > After I removed 000-default.conf the site http://mail.openmbox.net just works. > so the reason is due to 000-default.conf? we should remove this file in a > regular webserver? If the

Re: [users@httpd] firefox shows default site page

2022-11-11 Thread Eric Covener
> As you see, these two lines of output are quite strange: > default server mail.openmbox.net > (/etc/apache2/sites-enabled/000-default.conf:1) > port 80 namevhost mail.openmbox.net > (/etc/apache2/sites-enabled/000-default.conf:1) this is normal

Re: [users@httpd] firefox shows default site page

2022-11-11 Thread Eric Covener
> but it shows the default site (ubuntu default html) on firefox as you can > test it as well. > > I am totally confused. can you help? I suggest turning on `loglevel trace8` and noting the time of your test request with firefox. Is a request traced? Does the Host: header or anything else

Re: [users@httpd] Questionable URL being sent to our server

2022-11-01 Thread Eric Covener
On Tue, Nov 1, 2022 at 10:26 AM Darryl Philip Baker wrote: > > We are getting a poorly formed URL being requested from our servers. Apache > is returning a 400 error but I am wondering if someone is try to exploit an > issue with some version of some web server out there. Maybe a Dos attack or

Re: [users@httpd] AuthProviderAlias and Require ldap-user?

2022-09-08 Thread Eric Covener
r user1 > > > ...it all works just fine. > > -- > Lars Kellogg-Stedman | larsks @ {irc,twitter,github} > http://blog.oddbit.com/| N1LKS > > - > To unsubscribe, e-mail: users-unsubsc

Re: [users@httpd] Issue communicating from webserver to app server help

2022-08-31 Thread Eric Covener
On Wed, Aug 31, 2022 at 4:56 PM vaidya nathan wrote: > > Following is our setup > > 1. we have an angular application depoyed in apache webserver IBM HTTP Server > 8.5.5.20(eqivalent apache http server 2.2.8) that talks to a spring boot > server . > > 2. certain users are having issues when

Re: [users@httpd] Re: Restart over reload

2022-08-24 Thread Eric Covener
On Wed, Aug 24, 2022 at 7:35 PM Frank Gingras wrote: > > Curtis, > > Eric's answer was much more on point. > > Further, "enabling" a module is just confusing for new users. Modules are > either loaded, or not loaded. If you load a module previously not loaded, > then you restart httpd. Even

Re: [users@httpd] Restart over reload

2022-08-24 Thread Eric Covener
On Wed, Aug 24, 2022 at 5:18 AM Jay Townsend wrote: > > Hi All, > > Does anyone know what type of changes will require a restart of apache over > being able to do just a reload instead? As not able to find that anywhere in > the docs to tell me. This is so we can make the correct approach in

Re: [users@httpd] Using Apache's C API for HTTP/2 and HTTP/3?

2022-08-01 Thread Eric Covener
Not in any meaningful way. Apache uses nghttp2 for the low level protocol support. The http2 code in httpd connects nghttp2 to the rest of Apache. You'd proxy or incorporate nghttp2 (or quiche for http/3) to implement it in your app. On Mon, Aug 1, 2022, 6:27 PM Osman Zakir wrote: > I have

Re: [users@httpd] How to get files in svn directory processed by another mod

2022-07-29 Thread Eric Covener
On Fri, Jul 29, 2022 at 10:30 AM Gary Aitken wrote: > > Thanks for the reply, > > On 7/28/22 5:29 PM, Eric Covener wrote: > > On Thu, Jul 28, 2022 at 3:58 PM Gary Aitken wrote: > > >> It feels like the mod(s) which handle svn is not letting my mod_xxx deal > &g

Re: [users@httpd] How to get files in svn directory processed by another mod

2022-07-28 Thread Eric Covener
On Thu, Jul 28, 2022 at 3:58 PM Gary Aitken wrote: > > I am developing a mod to display (translated) markdown. It seems to be > working for an independent directory, but when I click on a file in an > svn directory, I get a standard browser download/open dialog. (We have > a .md file in svn

Re: [users@httpd] Apache 2.4 and php

2022-07-07 Thread Eric Covener
On Thu, Jul 7, 2022 at 1:06 PM Stormy-SDLU wrote: > > On 2022-07-06 21:34, Frank Gingras wrote: > > Paul, > > > > httpd does not call php includes, period. This is processed by php alone. > > Frank, thanks, perhaps my poor choice of words. I had this in mind: > >

  1   2   3   4   5   6   7   8   9   10   >