Re: [EMAIL PROTECTED] Apache mods not working after upgrade...

2007-05-18 Thread Sander Temme
Hi Jan, Jan van der Merwe wrote: > I upgraded our Web Server from Fedora Core 2 to Fedora Core 6. This > meant an upgrade for Apache from 2.0.54 - 2.2.3 After the upgrade > Apache wouldn't start because of library problems, eg: > > Starting httpd: httpd: Syntax error on line 209 of > /etc/httpd

Re: [EMAIL PROTECTED] Apache load balancing https request

2007-05-18 Thread Serge Dubrouski
Something isn't clear here. If you use mod_jk that means that you use AJP connector on Tomcat side. That's not HTTP neither HTTPS. https://192.168.62.2:8443/login.do probably works because you configured HTTPS connectors along with AJP but did you configure Apache to connect to those connectors?

[EMAIL PROTECTED] Apache load balancing https request

2007-05-18 Thread Nha Le
I want to use Apache to load balance client request to 2 JBoss Tomcat instance (I use mod_jk to connect Apache and JBoss Tomcat). I setup Apache server on one machine with IP 192.168.62.1, the 1st JBoss server is on 192.168.62.2 and the 2nd JBoss is on 192.168.62.3. Apache load balances very we

Re: [EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Scott Wilcox
Ha, nevermind. Again, i'm a retard. All I needed to do was add a condition to the rewrite. Thanks again Joshua. Scott. Scott Wilcox wrote: > I took the mod_rewrite approach, and it works flawlessly. One question > I have, is that I often access the server via its IP instead of the > canonical n

Re: [EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Joshua Slive
On 5/18/07, Scott Wilcox <[EMAIL PROTECTED]> wrote: I took the mod_rewrite approach, and it works flawlessly. One question I have, is that I often access the server via its IP instead of the canonical name. Is there a way to make apache use both domain.tld and its IP as the server name? I've

Re: [EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Scott Wilcox
I took the mod_rewrite approach, and it works flawlessly. One question I have, is that I often access the server via its IP instead of the canonical name. Is there a way to make apache use both domain.tld and its IP as the server name? I've tried it with ServerAlias and it didn't make any differen

Re: [EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Scott Wilcox
AH. I'm a retard. Thanks Joshua :) Joshua Slive wrote: > On 5/18/07, Scott Wilcox <[EMAIL PROTECTED]> wrote: >> >> Hey Joshua, >> >> I think I was a little ambiguous with what I said. It probably would of >> been better to explain it like this. >> >> If a VirtualHost is there for the requested

Re: [EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Joshua Slive
On 5/18/07, Scott Wilcox <[EMAIL PROTECTED]> wrote: Hey Joshua, I think I was a little ambiguous with what I said. It probably would of been better to explain it like this. If a VirtualHost is there for the requested URI, that is served. For any requested URI (http://test1.com, http://sub.

Re: [EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Scott Wilcox
Hey Joshua, I think I was a little ambiguous with what I said. It probably would of been better to explain it like this. If a VirtualHost is there for the requested URI, that is served. For any requested URI (http://test1.com, http://sub.domain.com, http://anything.anythingelse.anywhere.tld), the

Re: [EMAIL PROTECTED] GET requests being changed to POST

2007-05-18 Thread John Gosling
That's extremely helpful to know Joshua. If what you say is true, that the METHOD shown access log is an exact copy of what is sent by the client (and by implication can't have been modified in any way by Apache), then that effectively rules out problems at the server end. The examples I sent

Re: [EMAIL PROTECTED] GET requests being changed to POST

2007-05-18 Thread Joshua Slive
On 5/18/07, John Gosling <[EMAIL PROTECTED]> wrote: In all cases, the request was sent as POST. No, what you see in the access_log is an exact copy of the request line sent from the client. So the client is sending GET. That still leaves the question: why? What you need to look at is the seque

Re: [EMAIL PROTECTED] GET requests being changed to POST

2007-05-18 Thread John Gosling
Thanks for the reply Joshua. Firstly your quite right. The title is the wrong way round. Apologies - it's been a hard day !! Secondly, I should explain that I am a web developer and not a server administrator so I don't have access to very much except to the access logs at our ISP. I'm sim

Re: [EMAIL PROTECTED] GET requests being changed to POST

2007-05-18 Thread Joshua Slive
On 5/18/07, John Gosling <[EMAIL PROTECTED]> wrote: Hi, We have a web application which had been running unproblematically for around 6 years until several days ago (approximately 10th May). At this time we suddenly found that requests sent via POST were intermittently showing up as GET request

[EMAIL PROTECTED] GET requests being changed to POST

2007-05-18 Thread John Gosling
Hi, We have a web application which had been running unproblematically for around 6 years until several days ago (approximately 10th May). At this time we suddenly found that requests sent via POST were intermittently showing up as GET requests in the Apache access logs. On each such occasio

Re: [EMAIL PROTECTED] apache doesn't startup on my XP

2007-05-18 Thread Russ
Sounds like antivirus/firewall to me. Try disabling them and see what happens. Russ Sent wirelessly via BlackBerry from T-Mobile. -Original Message- From: zhou jian <[EMAIL PROTECTED]> Date: Fri, 18 May 2007 05:44:11 To:users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] apache doesn

Re: [EMAIL PROTECTED] apache doesn't startup on my XP

2007-05-18 Thread James Davis
zhou jian wrote: > Child 468: setup_inherited_listeners() WSASocket > failed to open teh inherited socket. Google suggest that this might be of interest to you. http://issues.apache.org/bugzilla/show_bug.cgi?id=31765 James -- http://www.freecharity.org.uk/ - Free IT services for charities ht

Re: [EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Joshua Slive
On 5/18/07, Scott Wilcox <[EMAIL PROTECTED]> wrote: Is there a method to say: Requested URI: http://domain.com Does nothing http://sub.domain.com Redirects to http://domain.com It seems to me, if I used the Redirect Perm, it'd just loop around itself, no? http://wiki

Re: [EMAIL PROTECTED] Access environment variables CONTENT (Not EXISTENCE) in apache2.conf

2007-05-18 Thread Joshua Slive
On 5/18/07, George Thanos <[EMAIL PROTECTED]> wrote: Dear list, Can I access the content (NOT the existence) of an httpd environment variable from the apache configuration file? For example (in the following sample) 1 2 Order Deny,Allow 3 Deny from all 4 Allow from env=ENV_VARIA

Re: [EMAIL PROTECTED] apache doesn't startup on my XP

2007-05-18 Thread zhou jian
The error message is Child 468: setup_inherited_listeners() WSASocket failed to open teh inherited socket. --- zhou jian <[EMAIL PROTECTED]> wrote: > Did you guys encounter such problem before? > > I looked at the log file, it said invalid parameter > or > something... > > > Thanks a lot.

Re: [EMAIL PROTECTED] apache doesn't startup on my XP

2007-05-18 Thread James Davis
zhou jian wrote: > I looked at the log file, it said invalid parameter or > something... Can you post the error messages from the log files to the list? That would be very helpful. James -- http://www.freecharity.org.uk/ - Free IT services for charities http://www.freecharity.org.uk/wiki/ - The

[EMAIL PROTECTED] apache doesn't startup on my XP

2007-05-18 Thread zhou jian
Did you guys encounter such problem before? I looked at the log file, it said invalid parameter or something... Thanks a lot. Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel

Re: [EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Scott Wilcox
Is there a method to say: Requested URI: http://domain.com Does nothing http://sub.domain.com Redirects to http://domain.com It seems to me, if I used the Redirect Perm, it'd just loop around itself, no? Scott. Victor Trac wrote: > In your catchall vhost (first one), just ha

Re: [EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Victor Trac
In your catchall vhost (first one), just have a: Redirect permanent / http://main.uri.com --Victor On 5/18/07, Scott Wilcox <[EMAIL PROTECTED]> wrote: hey folks. I have various virtual hosts set up on apache, and currently, the first handles all unreferenced domains. I'm looking at impleme

[EMAIL PROTECTED] Global Vhost/Redirect

2007-05-18 Thread Scott Wilcox
hey folks. I have various virtual hosts set up on apache, and currently, the first handles all unreferenced domains. I'm looking at implementing something to catch any unreferenced domains and actually shoot a rewrite at them to point them to my actual main URI. Is this possible, and what would

[EMAIL PROTECTED] Access environment variables CONTENT (Not EXISTENCE) in apache2.conf

2007-05-18 Thread George Thanos
Dear list, Can I access the content (NOT the existence) of an httpd environment variable from the apache configuration file? For example (in the following sample) 1 2 Order Deny,Allow 3 Deny from all 4 Allow from env=ENV_VARIABLE 5 I would like something like : Allow from EN

Re: [EMAIL PROTECTED] Re: https redirection

2007-05-18 Thread Gregor Schneider
ServerName www.foo.com [ ... ] RewriteEngine On RewriteRule ^/(.*)$ https://www1.foo.com/$1 [ ...] :443> ServerAlias www1.foo.com [ ... ] HTH Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http:

[EMAIL PROTECTED] Apache mods not working after upgrade...

2007-05-18 Thread Jan van der Merwe
Hi Guys! I upgraded our Web Server from Fedora Core 2 to Fedora Core 6. This meant an upgrade for Apache from 2.0.54 - 2.2.3 After the upgrade Apache wouldn't start because of library problems, eg: Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax error o