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

2023-06-30 Thread Kaushal Shriyan
Hi, I have set up a new server with the below details. I am running node.js application on port 3000 and Apache HTTP server on CentOS Linux release 7.9.2009 (Core) # node --version *v16.20.0* # httpd -v Server version: *Apache/2.4.57 (IUS)* Server built: Apr 7 2023 14:49:47 # *Nodejs code

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

2023-06-30 Thread Marc
> > > > How does apache httpd 2.4 handle multiple VirtualHost directives for > > the same address ? > > > > For example: > > > > > > SSLCertificateFile "${SRVROOT}/conf/server.crt" > ># ... > > > > > > > > DocumentRoot "/www/docs/host.example.com" > > # ... > > > > > > Are the

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

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

2023-06-30 Thread David Balazic
From: Marc Sent: Friday, 30 June 2023 13:00 > > How does apache httpd 2.4 handle multiple VirtualHost directives for > the same address ? > > For example: > > > SSLCertificateFile "${SRVROOT}/conf/server.crt" ># ... > > > > DocumentRoot "/www/docs/host.example.com" > # ... > > > Are

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

2023-06-30 Thread Marc
> > How does apache httpd 2.4 handle multiple VirtualHost directives for the > same address ? > > For example: > > > SSLCertificateFile "${SRVROOT}/conf/server.crt" ># ... > > > > DocumentRoot "/www/docs/host.example.com" > # ... > > > Are the settings merged, as if written like

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

2023-06-30 Thread David Balazic
Hi! How does apache httpd 2.4 handle multiple VirtualHost directives for the same address ? For example: SSLCertificateFile "${SRVROOT}/conf/server.crt" # ... DocumentRoot "/www/docs/host.example.com" # ... Are the settings merged, as if written like this: SSLCertificateFile

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

2023-06-27 Thread Eric Covener
The document suggests secret...@apache.org as the recipient. ‪On Tue, Jun 27, 2023 at 7:53 AM ‫محمد رضا‬‎ wrote:‬ > > Dear Apache HTTP Server team, > > I hope this email finds you well. > > I am writing to inform you of my intention to contribute to the Apache HTTP > Server project. > I have

Re: [users@httpd] Double or chained proxy with mod_proxy

2023-06-27 Thread Daniel Ferradal
El jue, 8 jun 2023 a las 19:28, Charlie Calhoun () escribió: > > I have a reverse proxy set up and working correctly for an internal > website. I have now been asked to create another proxy to connect to the > reverse proxy (and ultimately the internal website). The second proxy does > not have

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

2023-06-25 Thread Frank Gingras
None of those entries point to your 404 error. Make sure that you are reaching the proper vhost (with the scheme and hostname) by running apachectl -S. There is just far too much noise in the backlog of this thread to make sense of it so far. On Sun, Jun 25, 2023 at 11:46 AM Richard wrote: >

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

2023-06-25 Thread Richard
> Date: Sunday, June 25, 2023 16:09:23 +0530 > From: Kaushal Shriyan > > I have modified the nodejsbackendssl.conf file located > in /etc/httpd/conf.d/ to the below configuration. > > *#cat /etc/httpd/conf.d/nodejsbackendssl.conf* > > ServerName nodejs.mydomain.com >

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

2023-06-25 Thread Kaushal Shriyan
Hi Frank, I have modified the nodejsbackendssl.conf file located in /etc/httpd/conf.d/ to the below configuration. *#cat /etc/httpd/conf.d/nodejsbackendssl.conf* ServerName nodejs.mydomain.com ProxyPass / http://localhost:8000/ LogLevel debug ErrorLog

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

2023-06-25 Thread Frank Gingras
Why did you define a vhost without a ServerName directive? Also, those access log entries are quite useless, other than the requested path. Increase the log level, and find the error log entries instead. On Sun, Jun 25, 2023 at 2:54 AM Kaushal Shriyan wrote: > > > On Sun, Jun 25, 2023 at 10:40 

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

2023-06-25 Thread Kaushal Shriyan
On Sun, Jun 25, 2023 at 10:40 AM Frank Gingras wrote: > If you proxy all requests to another host, you do not need a DocumentRoot, > no. Also, do avoid using a block to proxy requests, and instead > just use ProxyPass / http://localhost:8000/ > > Hi Frank, Thanks for the email response. I am

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

2023-06-24 Thread Frank Gingras
If you proxy all requests to another host, you do not need a DocumentRoot, no. Also, do avoid using a block to proxy requests, and instead just use ProxyPass / http://localhost:8000/ On Sun, Jun 25, 2023 at 12:44 AM Kaushal Shriyan wrote: > > > On Sun, Jun 25, 2023 at 7:44 AM Kaushal Shriyan

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

2023-06-24 Thread Kaushal Shriyan
On Sun, Jun 25, 2023 at 7:44 AM Kaushal Shriyan wrote: > > On Thu, Jun 22, 2023 at 5:42 AM Richard < > lists-apa...@listmail.innovate.net> wrote: > >> >> >> > Date: Wednesday, June 21, 2023 20:14:40 + >> > From: Richard >> > >> > >> >> Date: Thursday, June 22, 2023 00:13:34 +0530 >> >> From:

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

2023-06-24 Thread Kaushal Shriyan
On Thu, Jun 22, 2023 at 5:42 AM Richard wrote: > > > > Date: Wednesday, June 21, 2023 20:14:40 + > > From: Richard > > > > > >> Date: Thursday, June 22, 2023 00:13:34 +0530 > >> From: Kaushal Shriyan > >> > >> When i hit https://nodejs.mydomain.com/demo/index.html I see the > >> below in

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 Richard
> Date: Wednesday, June 21, 2023 20:14:40 + > From: Richard > > >> Date: Thursday, June 22, 2023 00:13:34 +0530 >> From: Kaushal Shriyan >> >> When i hit https://nodejs.mydomain.com/demo/index.html I see the >> below in both httpd error and access logs >> >># pwd >> /var/log/httpd >>#

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 Richard
> Date: Thursday, June 22, 2023 00:13:34 +0530 > From: Kaushal Shriyan > > When i hit https://nodejs.mydomain.com/demo/index.html I see the > below in both httpd error and access logs > ># pwd > /var/log/httpd ># cat error_log > [Thu Jun 22 00:06:34.161122 2023] [suexec:notice] [pid

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 Kaushal Shriyan
Hi Daniel, Please refer to the below details $ npm start > api-console@6.6.32 start > node demo/index.js Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme es-dev-server

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 Daniel Gruno
On 2023-06-21 18:57, Kaushal Shriyan wrote: Hi, I am running node.js application on port 8000 and Apache HTTP server on CentOS Linux release 7.9.2009 (Core) # node --version *v16.20.0* # httpd -v Server version: *Apache/2.4.57 (IUS)* Server built:   Apr  7 2023 14:49:47 # _httpd.conf file

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 Richard
> Date: Wednesday, June 21, 2023 23:09:45 +0530 > From: Kaushal Shriyan > > When I am trying to access the URL > https://nodejs.mydomain.com/demo/index.html, I am seeing the below > information in Apache HTTP server access logs. > > 172.16.16.45 - drupaladmin [21/Jun/2023:23:04:07 +0530] "GET

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 Darryl Baker
I will be in meeting for the rest of the afternoon. Here is an anonymized version of my working configuration. Hope it helps. The main URL is https://directory.uexample.com/search nodejs is expacting /search ServerName directory.example.com ServerAlias

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] node.js application listening on port 8000 enabled with SSL certificate returns ERR_SSL_PROTOCOL_ERROR on browser.

2023-06-21 Thread Kaushal Shriyan
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 /etc/httpd/conf.d/nodejsnodejsssl.conf ProxyPass

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 Kaushal Shriyan
On Wed, Jun 21, 2023 at 10:35 PM Darryl Baker wrote: > Have you tried browsing to https://nodejs.mydomain.com/demo/index.html > The proxy configuration in Apache will direct the connection to nodejs over > port 8000. > Hi Darryl, When I am trying to access the URL

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 Darryl Baker
Have you tried browsing to https://nodejs.mydomain.com/demo/index.html The proxy configuration in Apache will direct the connection to nodejs over port 8000. Darryl Baker, GSEC, GCLD (he/him/his) Sr. System Administrator Distributed Application Platform Services Northwestern University 4th

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

2023-06-21 Thread Kaushal Shriyan
Hi, I am running node.js application on port 8000 and Apache HTTP server on CentOS Linux release 7.9.2009 (Core) # node --version *v16.20.0* # httpd -v Server version: *Apache/2.4.57 (IUS)* Server built: Apr 7 2023 14:49:47 # *httpd.conf file configuration* #cat

[users@httpd] OCSP No-stapling cache support

2023-06-19 Thread Davide Schiaroli
Hi, I'm adding OCSP Support to a PKI, and in our architecture the stapling feature is not usable. We would like to have the caching support as developed for the stapling extension, because without it our http flow is too slow for our traffic. I'd like to know whether this feature will ever be

[users@httpd] Re: Using MD for letsencrypt cert rotation

2023-06-16 Thread Tom Browder
On Fri, Jun 16, 2023 at 13:07 Tom Browder wrote: > Is Debian's certbot package required for MD use? Or does it interfere with > it? > > I suspect the latter. > Suspicion confirmed. -Tom

[users@httpd] Using MD for letsencrypt cert rotation

2023-06-16 Thread Tom Browder
Is Debian's certbot package required for MD use? Or does it interfere with it? I suspect the latter. Thanks. -Tom

[users@httpd] TAC Applications for Community Over Code North America and Asia now open

2023-06-16 Thread Gavin McDonald
Hi All, (This email goes out to all our user and dev project mailing lists, so you may receive this email more than once.) The Travel Assistance Committee has opened up applications to help get people to the following events: *Community Over Code Asia 2023 - * *August 18th to August 20th in

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

2023-06-10 Thread Suvendu Sekhar Mondal
On Sat, Jun 10, 2023 at 12:22 PM Ravi Chandra wrote: > Please find the log file for the Process Monitor. > > Thanks for sharing Procmon trace details, Ravi. It is showing following which means the a/c under which you are launching this httpd service doesn't have read access. Process Name PID

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

2023-06-09 Thread Gregory Kuzmicki
6/9/2023 11:14 PM EST Frank: Thank you for that information; however, Ravi's original message states "on one of the servers" so I am not sure if his full tech stack is operable via windows or if it is a multi-OS tandem integration. Ravi, please let us know an update when you get a chance!

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

2023-06-09 Thread Frank Gingras
Greg, Case sensitivity for paths isn't a concern on windows. On Fri, Jun 9, 2023 at 8:33 PM Gregory Kuzmicki wrote: > 6/9/2023 > 8:05 PM EST > > Ravi: > > I was taking another look at your issue. I noticed a "case difference" and > I am curious to know if this causing your issue. > > Please

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

2023-06-09 Thread Gregory Kuzmicki
6/9/2023 8:05 PM EST Ravi: I was taking another look at your issue. I noticed a "case difference" and I am curious to know if this causing your issue. Please note that in your email dated 6/6/2023 5:33 AM the screenshot of your log states: -- The Apache service named reported the following

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

2023-06-09 Thread Tatsuki Makino
Hello. Do I have to keep attaching png named jpg here? :) According to that png or jpeg or whatever it is, it still has . That means the following pattern will pass, right? D:\path\to\dir D:/path/to/dir \\hostname_or_ipaddress\path\to\dir //hostname_or_ipaddress/path/to/dir Regards.

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

2023-06-09 Thread Suvendu Sekhar Mondal
Ravi, On Fri, Jun 9, 2023, 7:34 AM Frank Gingras wrote: > Greg, they are using windows. > Procmon tool can be used to identify problem. It's from Microsoft. Launch the tool. Start Apache and wait for failure. Stop tracing immediately otherwise you will get some noises. After that you can

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

2023-06-08 Thread Frank Gingras
Greg, they are using windows. On Thu, Jun 8, 2023 at 9:40 PM Gregory Kuzmicki wrote: > On that note, to verify if it is indeed a permissions issue, you may > troubleshoot by granting all permissions to all users. > > Function: CHMOD > > If access proceeds as desired then you can at least be

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

2023-06-08 Thread Gregory Kuzmicki
On that note, to verify if it is indeed a permissions issue, you may troubleshoot by granting all permissions to all users. Function: CHMOD If access proceeds as desired then you can at least be certain it is a permissions issue; then revert back to your policies and make note one by one to

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

2023-06-08 Thread Frank Gingras
You would want to attempt to reach that path while connected as that user. Any error would prevent you from reading the directory. On Wed, Jun 7, 2023 at 8:22 PM Ravi Chandra wrote: > Can we have an idea what type of permission issue please. > > Zentech Innovation Private Limited > M Ravi

[users@httpd] Double or chained proxy with mod_proxy

2023-06-08 Thread Charlie Calhoun
Hello, I have a reverse proxy set up and working correctly for an internal website. I have now been asked to create another proxy to connect to the reverse proxy (and ultimately the internal website). The second proxy does not have direct network access to the internal website, but it does

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

2023-06-07 Thread Ravi Chandra
Can we have an idea what type of permission issue please. Zentech Innovation Private Limited M Ravi Chandra On Wed, 7 Jun 2023 at 23:45, Frank Gingras wrote: As Eric said, the only reason left is a permissions issue, which results in that error. On Wed, Jun 7, 2023 at 11:54 AM Ravi

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

2023-06-07 Thread Frank Gingras
As Eric said, the only reason left is a permissions issue, which results in that error. On Wed, Jun 7, 2023 at 11:54 AM Ravi Chandra wrote: > > Please find the config and the path in which we are using the network > path. Please let us know is any changes in the config file, and also find > the

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

2023-06-07 Thread Ravi Chandra
Please find the config and the path in which we are using the network path. Please let us know is any changes in the config file, and also find the config file for reference. Warm Regards, M Ravi Chandra.Zentech Innovations Private Limited On Wednesday, June 7, 2023 at 07:24:11 PM

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] Apache service reported path is invalid

2023-06-07 Thread Frank Gingras
Can you show the updated configuration? It's very difficult to see what you did otherwise. On Wed, Jun 7, 2023 at 9:50 AM Ravi Chandra wrote: > We already mapped the network drive(NAS). Then also we are facing the same > problem. But able to run within Commandline. > > > Warm Regards, > M Ravi

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

2023-06-07 Thread Ravi Chandra
We already mapped the network drive(NAS). Then also we are facing the same problem. But able to run within Commandline. Warm Regards, M Ravi Chandra.Zentech Innovations Private Limited On Wednesday, June 7, 2023 at 07:12:49 PM GMT+5:30, Frank Gingras wrote: Try mapping the path to a

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

2023-06-07 Thread Frank Gingras
Try mapping the path to a network letter in windows. On Wed, Jun 7, 2023 at 1:48 AM Ravi Chandra wrote: > Hi, > > But when we run the 'httpd.exe' on CMD it works without any error and we > are able to access files that exist within the path (No changes in the path > format

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

2023-06-06 Thread Ravi Chandra
Hi, But when we run the 'httpd.exe' on CMD it works without any error and we are able to access files that exist within the path (No changes in the path format "10.12.30.50\\COMTRACK01\\Comtrack_processing_root"). Whereas we run with service we are getting the path invalid error. Yes, we

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

2023-06-06 Thread Frank Gingras
Try a few things: 1) Don't escape the \'s in the path 2) Use / instead of \ 3) map the network path to a drive letter in windows. On Tue, Jun 6, 2023 at 5:34 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

[users@httpd] Apache service reported path is invalid

2023-06-06 Thread Ravi Chandra
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 Apache service named reported the following error:>>> Ah00526: Syntax

[users@httpd] proxying websocket and httpd in same VHOST

2023-06-03 Thread Florent Thomas
Hi everyone, I've browsed many ressources and read many thread of the mailing list. Looks like I'm not alone to have this issue and that documentation is not really clear. So I'm running this release of apache : httpd -v Server version: Apache/2.4.53 (Rocky Linux) Server built: Apr 28 2023

Re: [users@httpd] Proxy with ssl backend server

2023-05-31 Thread Yann Ylavic
On Wed, May 31, 2023 at 4:39 PM Yann Ylavic wrote: > > On Wed, May 31, 2023 at 2:52 PM Josef Wolf wrote: > > > > On Wed, May 31, 2023 at 10:58:27AM +0200, Yann Ylavic wrote: > > > On Thu, May 25, 2023 at 2:38 PM Josef Wolf wrote: > > > > > > > > I am trying to use apache as a proxy to pass

Re: [users@httpd] Proxy with ssl backend server

2023-05-31 Thread Yann Ylavic
On Wed, May 31, 2023 at 2:52 PM Josef Wolf wrote: > > On Wed, May 31, 2023 at 10:58:27AM +0200, Yann Ylavic wrote: > > On Thu, May 25, 2023 at 2:38 PM Josef Wolf wrote: > > > > > > I am trying to use apache as a proxy to pass requests to a https backend > > > like this: > > > > > > > > > > >

Re: [users@httpd] Proxy with ssl backend server

2023-05-31 Thread Josef Wolf
On Wed, May 31, 2023 at 10:58:27AM +0200, Yann Ylavic wrote: > On Thu, May 25, 2023 at 2:38 PM Josef Wolf wrote: > > > > I am trying to use apache as a proxy to pass requests to a https backend > > like this: > > > > > > > > SSLProxyEngine on > > ProxyPass/service/

Re: [users@httpd] Proxy with ssl backend server

2023-05-31 Thread Yann Ylavic
On Thu, May 25, 2023 at 2:38 PM Josef Wolf wrote: > > I am trying to use apache as a proxy to pass requests to a https backend like > this: > > > > SSLProxyEngine on > ProxyPass/service/ https://backend.do.main:4434/service > ProxyPassReverse /service/

Re: [users@httpd] Proxy with ssl backend server

2023-05-30 Thread Josef Wolf
No ideas on this one? On Thu, May 25, 2023 at 02:37:50PM +0200, Josef Wolf wrote: > Hello, > > I am trying to use apache as a proxy to pass requests to a https backend like > this: > > > > SSLProxyEngine on > ProxyPass/service/

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

2023-05-25 Thread Mateusz Kempski
Tested server is Rocky 8. We don't use Ubuntu in prod so I focused on testing Rocky. Mateusz Kempski On Wed, 24 May 2023 at 12:18, Deepak Goel wrote: > > The below test results are on which OS? Ubuntu 18 or 20? > > On Wed, 24 May 2023, 17:17 Mateusz Kempski, > wrote: >> >> They are all

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

2023-05-25 Thread Mateusz Kempski
Before the test: ``` Apache Server Status for 127.0.0.1 (via 127.0.0.1) Server Version: Apache/2.4.37 (rocky) Server MPM: event Server Built: May 17 2023 16:27:49

[users@httpd] Proxy with ssl backend server

2023-05-25 Thread Josef Wolf
Hello, I am trying to use apache as a proxy to pass requests to a https backend like this: SSLProxyEngine on ProxyPass/service/ https://backend.do.main:4434/service ProxyPassReverse /service/ https://backend.do.main:4434/service

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] Keepalive closing connections prematurely on high load on newer httpd versions

2023-05-24 Thread Mateusz Kempski
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 keepalive connections and logs "all workers busy or dying" but

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

2023-05-23 Thread Deepak Goel
On Tue, May 23, 2023 at 6:19 PM Mateusz Kempski wrote: > Ubuntu 20 idle: > ``` > Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s > Current DISK READ: 0.00 B/s | Current DISK WRITE: 0.00 B/s > ``` > ``` > top - 12:31:00 up 2 min, 1 user, load average: 0.13,

Re: [users@httpd] pwauth to external server

2023-05-23 Thread Adam Weremczuk
Thank you Frank. This is my entire gitweb config: cat /etc/apache2/conf-available/gitweb.conf         Define ENABLE_GITWEB           Define ENABLE_GITWEB         Alias /gitweb /usr/share/gitweb     AddExternalAuth pwauth /usr/sbin/pwauth     SetExternalAuthMethod

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

2023-05-23 Thread Mateusz Kempski
Ubuntu 20 idle: ``` Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s Current DISK READ: 0.00 B/s | Current DISK WRITE: 0.00 B/s ``` ``` top - 12:31:00 up 2 min, 1 user, load average: 0.13, 0.04, 0.01 Tasks: 239 total, 1 running, 238 sleeping, 0 stopped, 0

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

2023-05-23 Thread Deepak Goel
can you please post top, iotop results for both apache 18/20? On Tue, 23 May 2023, 17:33 Mateusz Kempski, wrote: > On Ubuntu 20 with apache in stock settings + my mpm event config: > ``` > ab -k -t 900 -c 1000 -n 100 http://ubuntu20/ > This is ApacheBench, Version 2.3 <$Revision: 1430300 $>

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

2023-05-23 Thread Mateusz Kempski
On Ubuntu 20 with apache in stock settings + my mpm event config: ``` ab -k -t 900 -c 1000 -n 100 http://ubuntu20/ This is ApacheBench, Version 2.3 <$Revision: 1430300 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation,

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

2023-05-23 Thread Mateusz Kempski
Looks like I did not respond to the right thread so I paste my response below. If you got it twice my apologies. There seems to be no difference in configuration file except for some comments: ``` diff -Bbde /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.roc ky 8a # See the httpd.conf(5)

Re: [users@httpd] Apache VirtualHost Config Tool management

2023-05-22 Thread rbowen
On Thu, 2023-04-27 at 12:53 +0200, Carlos García Gómez wrote: > Hello, >   > I am looking for a tool that makes it easier for me to manage the all >  virtual hosts that I have configured. >   > Some tool that allows me to have a database of all the virtual hosts > and that allows me to edit their

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

2023-05-22 Thread Deepak Goel
On Mon, 22 May 2023, 17:58 Mateusz Kempski, wrote: > @Yann Ylavic: > There seems to be no difference in configuration file except for some > comments: > ``` > diff -Bbde /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.rocky > 8a > # See the httpd.conf(5) man page for more information on

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

2023-05-22 Thread Mateusz Kempski
@Yann Ylavic: There seems to be no difference in configuration file except for some comments: ``` diff -Bbde /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.rocky 8a # See the httpd.conf(5) man page for more information on this configuration, # and httpd.service(8) on using and configuring

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

2023-05-22 Thread Deepak Goel
Hi 1. Please post the test results completely. (Sorry but, saying there is no difference does not help). 2. The memory used in Rocky is comparatively higher than Centos (About 30Meg or so). Also the buff/cache is approx 10 times higher in Rocky than in Centos. 3. Please also post iotop results

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

2023-05-22 Thread Yann Ylavic
Hi, On Mon, May 22, 2023 at 12:19 PM Mateusz Kempski wrote: > > Then I added following options > to default config on both servers: > ``` > > ThreadsPerChild 25 > StartServers 3 > ServerLimit 120 > MinSpareThreads 75 > MaxSpareThreads 3000 > MaxRequestWorkers 3000 > MaxConnectionsPerChild 0 >

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

2023-05-22 Thread Mateusz Kempski
I tested again with settings: ``` KeepAliveTimeout 300 MaxKeepAliveRequests 0 ``` but there was no difference in results barring normal diffs run-to-run. Below is the top of top from both servers when idle and during test. Rocky 8 no load: ``` top - 10:49:23 up 4 min, 1 user, load average:

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

2023-05-22 Thread Deepak Goel
Hi I can see about 8000+ requests have timed out in 'Rocky'. This is mostly due to Apache, which is unable to handle the load. Is it possible to increase the parameter "KeepAliveTimeout" (and other KeepAlive parameters). Is it also possible for you to post the hardware utilisations for the 2

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

2023-05-22 Thread Mateusz Kempski
Hi all, I have two identical VMs - 16GB RAM, 16 vCPUs. One is fresh Centos 7 install, the other is fresh Rocky 8. I installed httpd (on Centos 7 it's version 2.4.6 and on Rocky 8 it's 2.4.37), configured them to point to the same static default html file and enabled mpm event on Centos (mpm event

Re: [users@httpd] Getting Apache Started on a New Server

2023-05-21 Thread Kevin Huntly
the timeout from systemd is likely permissions related - e.g. apache can't write it's pid file (normally the case) On Sun, May 21, 2023, 15:12 Frank Gingras wrote: > For those, you'll have to ask your distro community. You can start httpd > with `apachectl start` in a normal environment. > > On

Re: [users@httpd] Getting Apache Started on a New Server

2023-05-21 Thread Frank Gingras
For those, you'll have to ask your distro community. You can start httpd with `apachectl start` in a normal environment. On Sun, May 21, 2023 at 12:56 PM John Iliffe wrote: > Hi Frank: > > I finally got Apache to start but it seems to be running in the > foreground. Not > sure why but the

Re: [users@httpd] Getting Apache Started on a New Server

2023-05-21 Thread John Iliffe
Hi Frank: I finally got Apache to start but it seems to be running in the foreground. Not sure why but the default httpd.service file results in: root 110531 110286 0 12:42 pts/000:00:00 systemctl start httpd root 110533 1 0 12:42 ?00:00:00 /usr/sbin/httpd

Re: [users@httpd] Getting Apache Started on a New Server

2023-05-21 Thread John Iliffe
Hi Frank: Looks like I have path problems because I am now getting the error: [Sun May 21 12:21:45.613390 2023] [mime:error] [pid 110214:tid 110214] (2)No such file or directory: AH01597: could not open mime types config file /etc/httpd/conf/mime.types. The problem here, and in retrospect I

Re: [users@httpd] Getting Apache Started on a New Server

2023-05-20 Thread Frank Gingras
What is the new error? On Sat, May 20, 2023 at 5:24 PM John Iliffe wrote: > Thanks Frank. > > Hasn't started yet but at least the problem has moved to another line :-) > > Regards, > > John > == > On Sat, 2023-05-20 at 14:48 -0400, Frank Gingras wrote: > > You need a mpm to start httpd. I

Re: [users@httpd] Getting Apache Started on a New Server

2023-05-20 Thread John Iliffe
Thanks Frank. Hasn't started yet but at least the problem has moved to another line :-) Regards, John == On Sat, 2023-05-20 at 14:48 -0400, Frank Gingras wrote: > You need a mpm to start httpd. I recommend using the event mpm, so just load > the appropriate module. > > On Sat, May 20, 2023

Re: [users@httpd] Getting Apache Started on a New Server

2023-05-20 Thread Frank Gingras
You need a mpm to start httpd. I recommend using the event mpm, so just load the appropriate module. On Sat, May 20, 2023 at 2:27 PM John Iliffe wrote: > Rocky Linux 9.0, new install > Rocky distro version of Apache/httpd > > As recommended I used the distro's download httpd and that has lead

[users@httpd] Getting Apache Started on a New Server

2023-05-20 Thread John Iliffe
Rocky Linux 9.0, new install Rocky distro version of Apache/httpd As recommended I used the distro's download httpd and that has lead me into a week's worth of chasing phantoms. Specifically, I copied the httpd.conf file from the old server (Apache.2.4.25) to the new server and after clearing

Re: [users@httpd] pwauth to external server

2023-05-18 Thread Frank Gingras
This comes to mind: https://code.google.com/archive/p/mod-auth-external/wikis/AuthNZ.wiki On Wed, May 17, 2023 at 12:48 PM Adam Weremczuk wrote: > Hi all, > > I run some old Bugzilla 3.6.11 (https://www.bugzilla.org) on SERVER1 > (Debian 7 / Apache 2.2.22 / MySQL 5.5.31). > > The following

[users@httpd] pwauth to external server

2023-05-17 Thread Adam Weremczuk
Hi all, I run some old Bugzilla 3.6.11 (https://www.bugzilla.org) on SERVER1 (Debian 7 / Apache 2.2.22 / MySQL 5.5.31). The following authentication works locally: AuthType Basic AuthPAM_Enabled on AuthBasicAuthoritative off AuthUserFile /dev/null I have migrated Bugzilla to a modern stack

Re: [users@httpd]

2023-05-15 Thread Frank Gingras
Well, we can't guess that you provided the wrong path. Hence the recommendation for better filesystem locations. On Mon, May 15, 2023 at 10:03 AM Marc wrote: > /tmp is just an example. Files are located elsewhere, actually at a > location where the rest should not be available/accessible. I

RE: [users@httpd]

2023-05-15 Thread Marc
/tmp is just an example. Files are located elsewhere, actually at a location where the rest should not be available/accessible. I only want to 'redirect' this file. > > You want to use instead. I also strongly recommend > storing your images in another path. > > On Mon, May 15, 2023 at 3:48 

Re: [users@httpd]

2023-05-15 Thread Frank Gingras
You want to use instead. I also strongly recommend storing your images in another path. On Mon, May 15, 2023 at 3:48 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

[users@httpd]

2023-05-15 Thread Roman Gelfand

RE: [users@httpd]

2023-05-15 Thread Marc
> > > > 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 > Hmmm, so I am ending up with somwthing like this. Is that really the best

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

[users@httpd]

2023-05-13 Thread Marc
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? "/tmp/os-favicon.ico" https://httpd.apache.org/docs/2.4/mod/core.html#files Is this te best manual?? "# Insert stuff that applies to cat.html here" is not

Re: [users@httpd] Help with mod_rewrite

2023-05-09 Thread Marc Serra
For your information, seems now works adding this rules as the first rules ... RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/(gb|es|ca|fr)/ [NC] RewriteRule . / [R,L] Missatge de Frank Gingras del dia dj., 20 d’abr. 2023 a les 16:12: >

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread sebb
On Mon, 8 May 2023 at 19:00, Eric Covener wrote: > > 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

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 sebb
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. Sebb On Mon, 8 May 2023 at 15:38, Daniel Gruno wrote:

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Daniel Gruno
On 2023-05-08 09:33, Eric Covener wrote: 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 clarify the docs. I think sebb is

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 clarify the > >> docs. > > > > I think sebb is right,

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Daniel Gruno
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 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

<    2   3   4   5   6   7   8   9   10   11   >