Re: [users@httpd] Show custom error pages while redirecting to HTTPS on Apache 2.2

2016-04-01 Thread Daniel
Yes, if you are receiving requests you are redirecting yourself to your own 443 port to SSL, you by all means need a SSL virtualhost so apache can handle them. Even if you are using 2.2 you can start with a simple example like this: http://httpd.apache.org/docs/2.4/ssl/ssl_howto.html#configexample

Re: [users@httpd] Show custom error pages while redirecting to HTTPS on Apache 2.2

2016-04-01 Thread Aitor González
First of all, thank you Daniel. So I need to define a new Virtualhost for the SSL address where I am redirecting the request? It should look like this maybe? #formamos el acceso por https SSLEngine on SSLCertificateFile something ServerAlias gestionfico.media-saturn.com Di

Re: [users@httpd] Show custom error pages while redirecting to HTTPS on Apache 2.2

2016-04-01 Thread Daniel
If I understand correctly you want: ErrorDocument 404 /error_stofi_404.html ErrorDocument 500 /error_stofi_500.html ErrorDocument 502 /error_stofi_502.html ErrorDocument 503 /error_stofi_503.html ErrorDocument 504 /error_stofi_504.html to show up in the SSL virtualhost. Since these have been def

[users@httpd] Show custom error pages while redirecting to HTTPS on Apache 2.2

2016-04-01 Thread Aitor González
Using Apache 2.2, I am trying to redirecting HTTP requests to HTTPS requests to a Tomcat 6 server and that works fine. But I am trying to redirect errors to custom error pages and while that works as long as I don't redirect the HTTP requests to HTTPS requests, it doesn't work when I redirect. Th