Re: [users@httpd] Redirect Permanent

2018-06-14 Thread Frank Gingras
You would need to use mod_macro in this case. On Thu, Jun 14, 2018 at 11:50 AM David Tkacik < dtka...@healthcoachinstitute.com> wrote: > Hey Guys, > > I’m running Apache/2.4.33 on RHEL > > I have this config: > > > ServerName "${APACHE_HOSTNAME}" > > Redirect permanent / https://${APACHE_HOSTNA

[users@httpd] Redirect Permanent

2018-06-14 Thread David Tkacik
Hey Guys, I’m running Apache/2.4.33 on RHEL I have this config: ServerName "${APACHE_HOSTNAME}" Redirect permanent / https://${APACHE_HOSTNAME}/ ServerName "${APACHE_HOSTNAME}" When I do CURL to that localhost on port 80 it gives me back this: 301 Moved Pe

Re: [users@httpd] redirect permanent not working

2011-03-08 Thread Eric Covener
On Tue, Mar 8, 2011 at 9:10 AM, Jeff Shearer wrote: > I am unable to successfully redirect traffic after moving 4 files from one > location to another.  I have the following code in the virtual host container: > > Redirect permanent http://www.trustedtechpro.com/marks.html > http://www.trustedte

[users@httpd] redirect permanent not working

2011-03-08 Thread Jeff Shearer
I am unable to successfully redirect traffic after moving 4 files from one location to another. I have the following code in the virtual host container: Redirect permanent http://www.trustedtechpro.com/marks.html http://www.trustedtechpro.com/policies/marks.html Redirect permanent http://www.tr