Re: [users@httpd] forward proxy cache, 2.4.25

2017-02-20 Thread Petr Gajdos
On Mon, Feb 20, 2017 at 10:28:26PM +0100, Yann Ylavic wrote: > https://bz.apache.org/bugzilla/show_bug.cgi?id=60577 > > I just proposed a (new) patch there, could you test it and report back? Ah, I really should have given search engine of the bugzilla a chance. Commented there. Thanks! Petr

Re: [users@httpd] Webserver intranet https categorized for insecure for broesers.

2017-02-20 Thread Mitchell Krog Photography
That’s because you have generated your own certificates, they are not trusted by any browser. Get yourself a fully trusted free SSL certificate using the Certbot client from Let’s Encrypt. https://letsencrypt.org / https://community.letsencrypt.org From: Rodrigo Cunha Reply: users@httpd.apach

Re: [users@httpd] apache2 config test failed

2017-02-20 Thread Mitchell Krog Photography
Line 219 of your .conf file reads "IncludeOptional sites-enabled/*.conf” that’s where it starts loading the sites you have configured and that’s where it is failing. So start looking for errors on line 32 on one of your enabled-sites conf files and not for an error in your apache2.conf which looks

[users@httpd] apache2 config test failed

2017-02-20 Thread Daniel Baker
Hi, Apache fails to start on a Ubuntu 16.04 Virtual Machine. The error says a syntax error however when I compare a working apache2.conf to a non working apache2.conf version I can see that both configs are identical. The error says a syntax error : ERROR: systemctl status apache2.ser

Re: [users@httpd] Best way to redirect all traffic to secure website.

2017-02-20 Thread Spork Schivago
Thank you. I am glad I asked because I must have missed the permanent part. I will give it a shot. I'm on the HSTS preloading list, so most browsers should redirect to https anyways. Thanks so much It'd be nice to remove all those rewrite rules from the .htaccess file! The article I

[users@httpd] Re: mod_status: extended + auto (machine-readable) output

2017-02-20 Thread Raphaël
https://github.com/apache/httpd/pull/27 On Sat, Oct 08, 2016 at 09:58:57PM -0300, Raphaël wrote: > Hi, > > I've an Apache server handling various virtual hosts and I'd like to monitor > the distinct activities of all of them without having to parse multiple > accesslog files. > > > Most monitor

[users@httpd] Webserver intranet https categorized for insecure for broesers.

2017-02-20 Thread Rodrigo Cunha
Dears, i make enviroment with keys and csr files setting in respective directories for my websites work in https protocol. my settings work fine, but in my browser i have alerts for insecure websites. i think with my local browser alert for not certificates valid but i dont want pay for certificate

Re: [users@httpd] Best way to redirect all traffic to secure website.

2017-02-20 Thread Yann Ylavic
On Mon, Feb 20, 2017 at 8:17 PM, Spork Schivago wrote: > > > ServerName www.mydomain.com > Redirect "/" "https://www.mydomain.com/"; > > > > ServerName subdomain1.mydomain.com > Redirect "/" "https://subdomain1.mydomain.com:2083/"; > ... > > > > Then, if I go to something l

Re: [users@httpd] forward proxy cache, 2.4.25

2017-02-20 Thread Yann Ylavic
On Mon, Feb 20, 2017 at 12:24 PM, Petr Gajdos wrote: > > While the behavior for reverse proxy is not changed, I get a > difference for forward proxy between 2.4.23 and 2.4.25: for 2.4.25, I > get no X-Cache header and also no reference to mod_cache in error_log > for trace8. > > Where I am wrong?

[users@httpd] Best way to redirect all traffic to secure website.

2017-02-20 Thread Spork Schivago
Hello, I was following a post from a user asking about the best way to redirect all traffic on his server from port 80 to port 443. Someone linked the original OP to https://httpd.apache.org/docs/2.4/rewrite/avoid.html#redirect I decided to post my own question instead of hijacking his question.

Re: [users@httpd] Core code in apache

2017-02-20 Thread Yehuda Katz
How do you define the core vs. modules? If you look at the documentation (http://httpd.apache.org/docs/2.4/mod/), it describes what is included in the core and what is a module. There are the core, mpms and other modules. Also maybe the LAYOUT file will help you. - Y On Mon, Feb 20, 2017 at 6:48

[users@httpd] Problem when using nested if statements in apache 2.4

2017-02-20 Thread Mike Schlottman
I'm trying to configure apache 2.4 to show nice error pages to external users of our web site, while allowing staff to see the real error. The idea is to prevent exposing privileged information to the general public while allowing our staff to more easily debug issues on our production web sit

Re: [users@httpd] Problem with migration between Https and CSS

2017-02-20 Thread Rodrigo Cunha
Tks man, i change the file LocalSettings.php and mi system workfine. The diretive: from: $wgServer = "https://wiki.oduvaldocozzi.intranet";; To: $wgServer = "https://wiki.oduvaldocozzi.intranet";; tks man, this question is solved. 2017-02-20 6:16 GMT-03:00 Yann Ylavic : > Hi, > > On Sat, Feb 18,

[users@httpd] Core code in apache

2017-02-20 Thread Hemant Chaudhary
HI As apache has two parts, core and mudules. I want to understand core part code of apache. Please share which is the core code of apache. Thanks Hemant

[users@httpd] forward proxy cache, 2.4.25

2017-02-20 Thread Petr Gajdos
Hi, perhaps just a theoretical question. I have an example: httpd.conf -- ServerName test User pgajdos Group users Listen 60080 PidFile /tmp/apache-rex/mod_proxy-cache/pid ErrorLog /tmp/apache-rex/mod_proxy-cache/error_log LoadModule auth_basic_module /usr/lib64/apache2-prefork/m

Re: [users@httpd] redirect port from 80 to 443

2017-02-20 Thread Nick Kew
On Mon, 2017-02-20 at 11:56 +0300, Marat Khalili wrote: > It's very insightful, but what other _general purpose_ tool do we have > here? Correct me if I'm wrong, but seems like URL rewrite C (let alone > Python) is not yet created. Wrong question. URL rewriting isn't a problem you look to solv

Re: [users@httpd] Why ExpiresByType is ignored when has SetHandler application/x-httpd-php ?

2017-02-20 Thread Binyamin
בע"ה Is it a Apache bug or expected behavior (ignored ExpiresByType when used "SetHandler application/x-httpd-php")? Any open issue for it? Without it the only workaround is to play-around header('Cache-Control: max-age=' . $maxage) Binyamin On Wed, Dec 28, 2016 at 12:09 PM, Binyamin <7rai...

Re: [users@httpd] mod_lua and subprocess_env

2017-02-20 Thread Andrei Ivanov
On Fri, Feb 17, 2017 at 12:18 PM, Andrei Ivanov wrote: > > On Thu, Feb 16, 2017 at 9:26 PM, Eric Covener wrote: > >> On Thu, Feb 16, 2017 at 11:16 AM, Andrei Ivanov >> wrote: >> > Is there a way to debug this? To print the values from the expression >> in the >> > logs maybe? >> >> One simple w

Re: [users@httpd] Problem with migration between Https and CSS

2017-02-20 Thread Yann Ylavic
Hi, On Sat, Feb 18, 2017 at 8:41 PM, Rodrigo Cunha wrote: > Dears, i installing wikimedia in my enviroment in http protocol, but i want > setting this for https acess. > I do redirect for vhost01 (old http wiki) to vhost02(current https wiki) but > the display for my wiki not work. Looks like yo

Re: [users@httpd] redirect port from 80 to 443

2017-02-20 Thread Marat Khalili
On 20/02/17 11:01, Nick Kew wrote: it's commonly used as a hacked-up scripting language comprisising just two main instructions (single IF aka RewriteCond, and GOTO aka RewriteRule) with side-effects. [...] By analogy, when I got my first programming job in the 1980s, there was still lots of anci

Re: [users@httpd] redirect port from 80 to 443

2017-02-20 Thread Nick Kew
On Sun, 2017-02-19 at 20:27 +0300, Marat Khalili wrote: > "When not to use mod_rewrite" page was probably written by people > frustrated with too many examples of incorrect mod_rewrite > configurations in this forum. Actually it was largely written by the same people who wrote the mod_rewrite doc