OK, needed to add:
RewriteEngine on
:(
Thanks.
rkw wrote:
>
> It is still just loading the HTTP page fropm the alias, not redirecting to
> HTTPS. Any ideas?
>
> Also, I would like it to be more generic as far as the redirect host is
> concerned.
>
> Could I just do:
>
> RewriteRule myApp
It is still just loading the HTTP page fropm the alias, not redirecting to
HTTPS. Any ideas?
Also, I would like it to be more generic as far as the redirect host is
concerned.
Could I just do:
RewriteRule myApp/(.*) https://%{HOSTNAME}/myApp/$1 [R]
or something similar?
Krist van Besien w
On Tue, Jul 28, 2009 at 9:12 PM, rkw wrote:
>
> I want to add an alias:
>
> Alias myApp /opt/installdir/myApp when I install my application. I can do
> this fine by adding a myApp.conf file into the /etc/httpd/conf.d folder
>
> But, this makes the application accessible both via http and https.
>
>
I want to add an alias:
Alias myApp /opt/installdir/myApp when I install my application. I can do
this fine by adding a myApp.conf file into the /etc/httpd/conf.d folder
But, this makes the application accessible both via http and https.
I can add the alais into the Virtual Host on port 443 in