Re: [us...@httpd] Redirecting request from HTTP to HTTPS

2009-04-20 Thread Krist van Besien
On Tue, Apr 21, 2009 at 6:48 AM, Tarun Narang wrote: > By using the rewrite engine rule and the proxy settings specified below, > I am able to receive the entire http request to https. Please have a > look and let me know, I understood you correctly or not this time. > > LoadModule proxy_module m

RE: [us...@httpd] Redirecting request from HTTP to HTTPS

2009-04-20 Thread Tarun Narang
Thanks Krist, for looking in to this and providing a brief description. Yes, you understood the problem correctly and I was wrong by asking to remove the proxy. I cannot get rid off the proxy server. Have your frontend forward both http and https requests to the http port on your backend. This co

Re: [us...@httpd] How to define constant in apache configuration?

2009-04-20 Thread Eric Covener
On Mon, Apr 20, 2009 at 9:23 PM, Alfonsas Stonis wrote: > I can not find now the definition, but there was some module for > apache 1.3 (maybe it was third party) that allowed to write define. > However, I found hard to believe that such basic thing would not be > supported in apache 2 configurati

[us...@httpd] Unique Home Page

2009-04-20 Thread Dondi Williams
I am running Apache 2.2.9 on a Windows Vista PC and have unique UIDs for my family members. I want each family member to have their own unique home page when they login to the PC. How can I enable this within Apache? I also have PHP 5.2.6 operational. -- Don

Re: [us...@httpd] How to define constant in apache configuration?

2009-04-20 Thread Doug Bell
On Apr 20, 2009, at 8:23 PM, Alfonsas Stonis wrote: 2009/4/20 Krist van Besien On Mon, Apr 20, 2009 at 7:37 AM, Alfonsas Stonis wrote: Hi, I want to define constant that I will use latter in several places. Old documentation says that there was Define statement (or similar) Define myUrl

Re: [us...@httpd] How to define constant in apache configuration?

2009-04-20 Thread Alfonsas Stonis
I can not find now the definition, but there was some module for apache 1.3 (maybe it was third party) that allowed to write define. However, I found hard to believe that such basic thing would not be supported in apache 2 configuration. There should be some easy way to do this. 2009/4/20 Krist va

[us...@httpd] Apache2 memory usage with many directories configuration directives

2009-04-20 Thread Julien Barnier
Hi, I'm part of a sysadmin team who operate a non-profit and self-managed small shared hosting organization. We recently upgraded one of our web front-end from apache 1.33 to apache2, and noticed a big increase in the amount of memory each apache process uses, whereas the overall configuration is

Re: [us...@httpd] load balancing with Apache for Tomcat workers

2009-04-20 Thread h iroshan
hi Inas , Thank you for your valuable comments. Best Regards, Iroshan

RE: [us...@httpd] load balancing with Apache for Tomcat workers

2009-04-20 Thread inas inassen
Hi, this is another example using location directive for balancing applications arounds tomcats: suppose that you have 3 urls or applications you want to balance using these context path: app1, app2 and app3 suppose that you have 2 tomcats with ajp on ports 8009 and 8007 so you config i

Re: [us...@httpd] Redirecting request from HTTP to HTTPS

2009-04-20 Thread Krist van Besien
On Mon, Apr 20, 2009 at 1:50 PM, Tarun Narang wrote: > Hi Krist > > Thanks Krist, I got your point. I have the impression you didn't. > Now, If I remove the proxy and go for redirect. In that case, how could > I redirect the http request to https://localhost:4430/hsbc which should > redirect it

RE: [us...@httpd] Redirecting request from HTTP to HTTPS

2009-04-20 Thread Tarun Narang
Hi Krist Thanks Krist, I got your point. Now, If I remove the proxy and go for redirect. In that case, how could I redirect the http request to https://localhost:4430/hsbc which should redirect it to https://localhost:443/hsbc. I cannot directly redirect the SSL requests to Apache 1.3 because we h

Re: [us...@httpd] Redirecting request from HTTP to HTTPS

2009-04-20 Thread Krist van Besien
On Mon, Apr 20, 2009 at 6:47 AM, Tarun Narang wrote: > Please help how could I redirect the http request to https as mentioned > aforesaid. First you need to make clear to us if you want to "redirect" requests, or if you want to "proxy" them. These two things are fundamentally different. You u

Re: [us...@httpd] How to define constant in apache configuration?

2009-04-20 Thread Krist van Besien
On Mon, Apr 20, 2009 at 7:37 AM, Alfonsas Stonis wrote: > Hi, > > I want to define constant that I will use latter in several places. > Old documentation says that there was Define statement (or similar) > > Define myUrl "ldap://localhost"; > ... > AuthLDAPUrl $myUrl I don't think that there was

[us...@httpd] [solved] [us...@httpd] Rewrite all except one case

2009-04-20 Thread Dietmar . Mueller
> Best solution would be to have a different rule in front of your other rule: > (And you don't need the P, in fact it might cause loops) > For example: > RewriteRule ^/foo$ /abc/ers [L] > RewriteRule ^/foo/(.*) /abc/$1 > The L flag cause apache to ignore subsequent rules. > Krist Hi Kri