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

2017-02-18 Thread Michael A. Peters
Most of my hosts are HTTPS only - I do have one host that allows port 80 for a yum package repository, https isn't needed there because the packages themselves are signed and yum validates them on the client side before installing. This is an example of what I do: ServerName librelamp.com

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

2017-02-18 Thread Spork Schivago
Sorry to butt in here. I've been following this post with some interest. I wanted to accomplish the same thing the original OP wanted to accomplish, redirect all traffic to the secure version of my site. I went to the internet and found directions on how to do this using mod_rewrite rules.

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

2017-02-18 Thread Dr James Smith
As I only run HTTPS - I have the following on port 80 - (this can't be done with redirect) ... ... ... RewriteEngine on RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=permanent,L,NE] So I only have one

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

2017-02-18 Thread Rodrigo Cunha
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. -- Atenciosamente, Rodrigo da Silva Cunha São Gonçalo, RJ - Brasil

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

2017-02-18 Thread Daniel
Yes please, let's stay away of convoluted and most times innecessary mod_rewrite examples to do simpleton configurations. If you are in virtualhost 80, you have specified servername correctly and you just want to redirect to ssl, why not a single Redirect statement? As Yann's refered document

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

2017-02-18 Thread Richard
> Date: Saturday, February 18, 2017 11:04:34 -0700 > From: James Moe > > On 02/18/2017 05:08 AM, Rodrigo Cunha wrote: >> i want redirect all request from port 80 to 443. >> what is better setting for fix this? >> > Better than what? > Fix? Is it broken? > >

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

2017-02-18 Thread Rodrigo Cunha
My redirect and my website is work in https port but my webserver not display the styles maked in css. Do you help-me? 2017-02-18 16:04 GMT-02:00 James Moe : > On 02/18/2017 05:08 AM, Rodrigo Cunha wrote: > > i want redirect all request from port 80 to 443. > > what is

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

2017-02-18 Thread James Moe
On 02/18/2017 05:08 AM, Rodrigo Cunha wrote: > i want redirect all request from port 80 to 443. > what is better setting for fix this? > Better than what? Fix? Is it broken? RewriteCond %{HTTP_HOST} =www.example.com RewriteCond %{SERVER_PORT} =80 RewriteRule ^(.*)$ https://www.example.com/$1

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

2017-02-18 Thread Yann Ylavic
Hi, On Sat, Feb 18, 2017 at 1:08 PM, Rodrigo Cunha wrote: > Dears, i want redirect all request from port 80 to 443. > what is better setting for fix this? https://httpd.apache.org/docs/2.4/rewrite/avoid.html#redirect

Re: [users@httpd] Re: proxypass does'nt seem to work on apache 2.4.25

2017-02-18 Thread Yann Ylavic
On Fri, Feb 17, 2017 at 11:09 PM, @lbutlr wrote: > On 2017-02-17 (12:57 MST), Christopher Schultz > wrote: >> >> - -chris > > Please fix your signature delimiter. It should be two dashes, a space, and > end of line, no more, no less. ??? Thanks

[users@httpd] redirect port from 80 to 443

2017-02-18 Thread Rodrigo Cunha
Dears, i want redirect all request from port 80 to 443. what is better setting for fix this? -- Atenciosamente, Rodrigo da Silva Cunha São Gonçalo, RJ - Brasil