Re: [users@httpd] Apache sending Content-Length 0

2017-12-06 Thread Hemant Chaudhary
Hi, I tired to solve this error but didn't get any hint why it is coming. Can you please help to solve the error. Which .c file manipulates the data to send the response. What are the reason to send status 200 with content-length 0. Thanks Hemant On Tue, Dec 5, 2017 at 2:32 PM, Hemant Chaudhary

[users@httpd] RE: MOD_WCGI

2017-12-06 Thread Houser, Rick
Sounds like you have an unmaintained install that's going to be missing security patches, etc. You may be better off getting a fresh install of Apache 2.4 (and keeping up to date with security patches), and using the existing configuration as an initial template to update to the new syntax,

Re: [users@httpd] if statement and ssl directives (apache 2.4)

2017-12-06 Thread Eric Covener
On Wed, Dec 6, 2017 at 4:10 AM, Adam Cecile wrote: > Hi, > > I'm trying to achieve a simplier vhost configuration using if statements but > httpd refuses to start when I put SSL related directive inside the if block: > > > > ServerName www.comptoir-hardware.com >

Re: [users@httpd] if statement and ssl directives (apache 2.4)

2017-12-06 Thread Adam Cecile
Hi, Well it depends who's editing the file. Some people are used to modify just the first block and ignore the following. You know what I mean ;-) This is the reason why I'm trying to turn these Apache configuration "nginx way". Less blocks, less lines, less mistakes made. Adam. On

Re: [users@httpd] if statement and ssl directives (apache 2.4)

2017-12-06 Thread Gillis J. de Nijs
Hi Adam, Simplest, in my opnion, is simplest to read and parse for a human. What's wrong with: ## One VirtualHost that does everything ServerName www.comptoir-hardware.com SSLEngine on SSLCertificateFile /etc/ssl/certs/comptoir-hardware.com.crt SSLCertificateKeyFile

[users@httpd] if statement and ssl directives (apache 2.4)

2017-12-06 Thread Adam Cecile
Hi, I'm trying to achieve a simplier vhost configuration using if statements but httpd refuses to start when I put SSL related directive inside the if block:   ServerName www.comptoir-hardware.com   ServerAlias www.comptoir-hardware.com   ServerAlias new.comptoir-hardware.com   ServerAlias