[users@httpd] problem with redirecting to HTTPS automatically

2017-04-20 Thread Raf Roger
Hi, i'm using XAMPP on my linux notebook for local dev. my first step was to create a folder to store my web application and to check that if user does not use HTTPS, he will be redirected to the same page but with HTTPS. i know that it can be done using mod_rewrite but i was not able to make it

Re: [users@httpd] Does Apache need to delay startup until system time set?

2017-04-20 Thread Robert Moskowitz
Yehuda, thanks. I already learned about chrony-wait for postfix. I will apply it to httpd as well; Roundcubemail will need it... On 04/20/2017 05:07 PM, Yehuda Katz wrote: There are some parts of the HTTP conversation which could be affected by having the wrong time, but HTTPD itself

Re: [users@httpd] Does Apache need to delay startup until system time set?

2017-04-20 Thread Yehuda Katz
There are some parts of the HTTP conversation which could be affected by having the wrong time, but HTTPD itself doesn't care. For example, if you are using cookies, caching, those could be affected by the time change (even more specifically, for PHP sessions, when the clock changes, the PHP

[users@httpd] Does Apache need to delay startup until system time set?

2017-04-20 Thread Robert Moskowitz
This is for Centos7 on an armv7 SOC with no clock battery. On startup, Centos runs Chronyd which eventually sets the system clock. This can happen really fast, or not depending. I have learned that it is NOT a good thing for postfix to start when the system time is earlier than the build

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

2017-04-20 Thread Mike Rumph
On 4/20/2017 4:58 AM, Velmurugan Dhakshnamoorthy wrote: Thanks Luca for pointing out, the weblogic module is needed to forward request from Apache to weblogic successfully. Is there any other way to achieve my requirement? Regards, Vel On Apr 20, 2017 17:20, "Luca Toscano"

Re: [users@httpd] Setup VirtualHost Multiple Domain to SLL Domain.

2017-04-20 Thread js5
If you are redirecting all HTTP -> HTTPS you can do: RewriteEngine on RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=permanent,L,NE] This will redirect all requests to your https server {other redirects can be handled on that} James -- The Wellcome Trust Sanger Institute

[users@httpd] Setup VirtualHost Multiple Domain to SLL Domain.

2017-04-20 Thread Wilmer Arambula
Hi, I have two domains, domain.web and domain.info, y need redirect to: https://www.domain.web http://domain.web ---> https://www.domain.web http://www.domain.web ---> https://www.domain.web https://domain.web> https://www.domain.web http://domain.info

Re: [users@httpd] Virtual hosts, include php.conf, DirectoryIndex failure

2017-04-20 Thread Luca Toscano
Hi Marc, +1 to what Rick is saying, if you could avoid mod_php it would be really better (more info https://wiki.apache.org/httpd/php). > But when I included the php7.file in the global http.conf or in the global default-server.conf files then it works! Sorry for the extra question but are you

RE: [users@httpd] Virtual hosts, include php.conf, DirectoryIndex failure

2017-04-20 Thread Houser, Rick
I suggest you remove the php stuff from Apache, switch it over to php-fpm (which basically turns it into an appserver). If you do so, consider changing your MPM over to either event or worker at that point. Rick Houser Web Administration > -Original Message- > From: Marc Chamberlin

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

2017-04-20 Thread Velmurugan Dhakshnamoorthy
Thanks Luca for pointing out, the weblogic module is needed to forward request from Apache to weblogic successfully. Is there any other way to achieve my requirement? Regards, Vel On Apr 20, 2017 17:20, "Luca Toscano" wrote: > Hi! > > I checked your httpd config and

Re: [users@httpd] Best Form Redirect Http --> Https VirtualHost Apache.

2017-04-20 Thread Rainer Canavan
On Thu, Apr 20, 2017 at 2:05 AM, Wilmer Arambula wrote: > > If that domain points to your servers external IP, it will be handled by the > first *:443 virtualhost: > > Ok, Perfect thanks a lot for your answer, is there any way to prevent it from > redirecting to

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

2017-04-20 Thread Luca Toscano
Hi! I checked your httpd config and you are using mod_weblogic, not mod_proxy, so the ProxyErrorOverride option will not be effective :) Luca 2017-04-20 3:18 GMT+02:00 Velmurugan Dhakshnamoorthy : > Hi, > Any help to identify and correct what is the issue in my setting to

Re: [users@httpd] Help: Apache Crashing Everyday

2017-04-20 Thread Luca Toscano
Hi! 2017-04-19 8:41 GMT+02:00 Jayaram Ponnusamy : > Hi Luca, > > Thanks for the details. > 1. our server's ulimit values are: > ]$ ulimit -a > max user processes (-u) 1024 > > Please let me know whether the values are sufficient to allow at least 500 >