[users@httpd] Virtual host config and non-virtual host directories

2017-03-14 Thread Robert Moskowitz
I am reading: https://httpd.apache.org/docs/2.4/vhosts/examples.html And the statement: "The asterisks match all addresses, so the main server serves no requests. Due to the fact that the virtual host with |ServerName www.example.com| is first in the configuration file, it has the highest pr

[users@httpd] Reg: Custom error message at Apache 2.4.25

2017-03-14 Thread Velmurugan Dhakshnamoorthy
Hi Everyone, I have installed Apache 2.4.25 HTTP server as a reverse proxy server and my back-end content server is Weblogic 12c(12.1.3). The error message(500,50*.. ) produced from content server Weblogic 12c to be displayed with custom error message through Apache 2.4.25. I tired few options b

Re: [users@httpd] Error nghttp2 version is too old

2017-03-14 Thread John Iliffe
I'm not sure it is evident that there is a question buried in the note below so here is a precis of what I asked: 1. the requirement is for nghttp2 at level 1.2.1 whereas I have nghttp2 1.13.0 installed. Why is that considered lower than the requirement? 2. assuming (always a bad idea) that

[users@httpd] logrotate, httpd and piping messages to java program

2017-03-14 Thread Milind Vaidya
Hi I asked following question few days ago: I am writing messages to error_log file as well as sending to std out. > > The setting looks like > ErrorLog "| /usr/bin/tee -a /var/log/httpd/error_log | java -cp producer.jar stdin.producer.StdInProducer /CustomProducer/config.json >> /producer_init

Re: [users@httpd] content negotiation default language/file?

2017-03-14 Thread Lee Fisher
I was missing DefaultLanguage! That's what I was looking for. I think adding DefaultLanguage en DirectoryIndex index in Directory solved it. I'll keep testing. On Tue, Mar 14, 2017 at 10:55 AM Lee Fisher wrote: > AddLanguage en .html > works sometimes but still not consistentl

Re: [users@httpd] content negotiation default language/file?

2017-03-14 Thread Lee Fisher
AddLanguage en .html works sometimes but still not consistently. On Tue, Mar 14, 2017 at 10:52 AM Lee Fisher wrote: > Seeing it in apaste triggered something in my brain. > If I change en to > AddLanguage en .html > AddLanguage zh .zh > AddLanguage ja .ja > > It seems to work. > Is this valid? >

Re: [users@httpd] content negotiation default language/file?

2017-03-14 Thread Lee Fisher
Seeing it in apaste triggered something in my brain. If I change en to AddLanguage en .html AddLanguage zh .zh AddLanguage ja .ja It seems to work. Is this valid? Thanks, Lee On Tue, Mar 14, 2017 at 10:50 AM Lee Fisher wrote: > Hi Luca, > Thanks for response. > Please see example here > http://

Re: [users@httpd] content negotiation default language/file?

2017-03-14 Thread Lee Fisher
Hi Luca, Thanks for response. Please see example here http://apaste.info/sRqr4 On Tue, Mar 14, 2017 at 3:09 AM Luca Toscano wrote: > Hi! > > 2017-03-13 23:39 GMT+01:00 Lee Fisher : > > Hi, > On my current site with 2.2.31 (www.vishay.com) > I have 3 languages, > English index.html > ja index.ja

Re: [users@httpd] Error nghttp2 version is too old

2017-03-14 Thread John Iliffe
OK, I will have to see what I can do with Fedora, probably not much in this case. My question though was that the version I have is 1.13.0 according to rpm. That would seem to be higher than 1.2.1 so why would the compiler complain? I assume that it has an internal requirement on the library tha

Re: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Mitchell Krog Photography
Sorry typo …. /etc/apache2/conf-available/security.conf From: Chunduru, Krishnachaithanya Reply: users@httpd.apache.org Date: 14 March 2017 at 1:56:04 PM To: users@httpd.apache.org Subject: [users@httpd] Hiding Apache version info on the Aix server for Apache. Hi All, Can anyone plea

Re: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Mitchell Krog Photography
What happens you run a configtest ??? On your distro it could be either sudo apachectl configtest or sudo apache2ctl configtest Really wish package maintainers would agree on some kind of layout standard of the apache directory structure between distro’s. From: Yehuda Katz Reply: Yehuda

Re: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Yehuda Katz
HTTPD should be logging somewhere, often /var/log/httpd or /var/log/apache2. See if there is an error there. - Y On Tue, Mar 14, 2017 at 9:35 AM, Chunduru, Krishnachaithanya < krishnachaithanya.chund...@broadridge.com> wrote: > Hi, > > > > No, I was not getting any error. When the script is exec

RE: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Chunduru, Krishnachaithanya
Hi, No, I was not getting any error. When the script is executed, it is giving message like “starting Apache” later when we are checking the process is not running. I can’t even find the /etc/conf-* dir in our Aix server. Regards, Krishna From: Yehuda Katz [mailto:yeh...@ymkatz.net] Sent: Tue

[users@httpd] Reg : Limiting http connections at Apache 2.4.25

2017-03-14 Thread Velmurugan Dhakshnamoorthy
Hi Everyone, I just joined to this group. I have installed Apache 2.4.25 HTTP server as a reverse proxy server and my back-end content server is Weblogic 12c(12.1.3). I would like to limit/restrict HTTP connections at Apache layer (example : only maximum 50 HTTP sessions to be allowed) .What is

Re: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Yehuda Katz
/etc/conf-available/security.conf is part of the Debian/Ubuntu packaged layout of HTTPD, not standard. Do you get an error when you try to start up the server? - Y On Tue, Mar 14, 2017 at 9:08 AM, Chunduru, Krishnachaithanya < krishnachaithanya.chund...@broadridge.com> wrote: > Hi, > > > > I co

RE: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Chunduru, Krishnachaithanya
Hi, I couldn’t find the file security.conf. We are having 2.4.x version running. I have only /etc/httpd/ dir, but not /etc/apache2. Can you please help me if there are any other files to check. Regards, Krishna From: Mitchell Krog Photography [mailto:mitchellk...@gmail.com] Sent: Tuesday, Marc

Re: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Mitchell Krog Photography
Not sure what version of apache you are using but in versions 2.4.x the modification is done in /etc/conf-available/security.conf and not in the http.conf or apache2.conf file. From: Chunduru, Krishnachaithanya Reply: users@httpd.apache.org Date: 14 March 2017 at 1:56:04 PM To: users@httpd.a

[users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Chunduru, Krishnachaithanya
Hi All, Can anyone please let me know how to hide the apache version and the OS name running on Aix server. The servertokens or the server signature fields are set to PROD and signature off, then I tried restarting the httpd but apache was not starting until these two parameters are removed fr

[users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Chunduru, Krishnachaithanya
Hi All, Can anyone please let me know how to hide the apache version and the OS name running on Aix server. The servertokens or the server signature fields are set to PROD and signature off, then I tried restarting the httpd but apache was not starting until these two parameters are removed fr

Re: [users@httpd] Re: ModSecurity and custom headers

2017-03-14 Thread Andrei
bump On Sat, Mar 11, 2017 at 4:14 PM, Andrei wrote: > I also tried for example: > > SecDefaultAction "phase:2,deny,log,status:406, > setenv:'env_modsecblk=%{rule.msg}'" > > Header always set X-ModSec-Block %{env_modsecblk}e env=env_modsecblk > > > But that also fails with: > > AH00526: Synta

Re: [users@httpd] content negotiation default language/file?

2017-03-14 Thread Luca Toscano
Hi! 2017-03-13 23:39 GMT+01:00 Lee Fisher : > Hi, > On my current site with 2.2.31 (www.vishay.com) > I have 3 languages, > English index.html > ja index.ja.html > zh index.zh.html > > I am trying to set this up similarly on my new server, 2.4.16. > I can get ja and zh to work, but I can't get it