Re: [us...@httpd] Adding Alias with HTTPS

2009-07-29 Thread Krist van Besien
On Tue, Jul 28, 2009 at 9:12 PM, rkwwip...@nortel.com 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

Re: [us...@httpd] Adding Alias with HTTPS

2009-07-29 Thread rkw
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

Re: [us...@httpd] Adding Alias with HTTPS

2009-07-29 Thread rkw
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/(.*)

[us...@httpd] Adding Alias with HTTPS

2009-07-28 Thread rkw
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