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 Frank, Thanks for the email response and much appreciated. I added the ProxyPass /index.html ! directive in /etc/httpd/conf.d/phpnodejs.conf #cat /etc/httpd/conf.d/phpnodejs.conf ServerName phpnodejs.mydomain.com Redirect / https://phpnodejs.mydomain.com/ DocumentRoot /var

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 Frank Gingras
To exclude index.html from your proxying, use ProxyPass /index.html ! before the existing ProxyPass directive. On Fri, Jun 30, 2023 at 1:24 PM Kaushal Shriyan wrote: > Hi, > > I have set up a new server with the below details. I am running node.js > application on port 3000 and Apache HTTP serve

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 doc

[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 setting

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 unsub

[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