Re: [us...@httpd] using protocols other than http

2010-08-19 Thread Rainer Jung
On 18.08.2010 02:05, James Godrej wrote: Is it possible to use Apache for any other protocol as ftp or so Yes, for example see http://httpd.apache.org/mod_ftp/ and make it as a front end to a group of servers running in backend. As is the case with Reverse Proxy situation in virtual hosting

[us...@httpd] proxy_loadbalancer and failover

2010-08-19 Thread michael bienstein
Hi all, I am trying to configure the latest Apache 2.2.x on Windows 7 64bit (so using 32bit emulation) as a Reverse Proxy with Load Balancing. I can get the reverse proxy side of things to work. The load balancing too works if the origin servers work. But if I configure it to go to a port

Re: [us...@httpd] proxy_loadbalancer and failover

2010-08-19 Thread Eric Covener
On Thu, Aug 19, 2010 at 7:56 AM, michael bienstein mbienst...@yahoo.fr wrote: . But if I configure it to go to a port that is not listened to, then I get a 502 every second request and the balancer worker is never put into error state. related to this enhancement / PR?

[us...@httpd] Re : [us...@httpd] proxy_loadbalancer and failover

2010-08-19 Thread michael bienstein
Thanks for the quick reply. I don't think so. As I said, I did see in the code I have that we can match the status code against a list of error codes and place the worker into error state if it matches. This PR looks to be exactly that. I tried it but the stable release I downloaded refused to

Re: [us...@httpd] proxy_loadbalancer and failover

2010-08-19 Thread Rainer Jung
On 19.08.2010 13:56, michael bienstein wrote: Hi all, I am trying to configure the latest Apache 2.2.x on Windows 7 64bit (so using 32bit emulation) as a Reverse Proxy with Load Balancing. I can get the reverse proxy side of things to work. The load balancing too works if the origin servers

[us...@httpd] Re : [us...@httpd] proxy_loadbalancer and failover

2010-08-19 Thread michael bienstein
Hi, Thanks for the help. I have a IIS listening on port 80 and nothing on port 81. Version is Apache/2.2.16 (Win32) Server Built: Jul 30 2010 16:15:37 Here's the changes I've made to the httpd.config from the default install: httpd.config Listen 8081 #Used in other tests (sticky session

[us...@httpd] Redirection based on HTTP Host header

2010-08-19 Thread Frank Zappo
Good day, Is there a way to specify directives to scan the HTTP Host header for specific attributes, and then redirect based upon the value of those attributes? For example, I'd like my server to be configured such that my client can open an HTTPS session to the same address/port regardless

[us...@httpd] 32 or 64 bit install

2010-08-19 Thread John Kennedy
We are running Glassfish 2.1.1 on 2 RHEL 5.3 64 bit boxes with Apache 2.2.16. We want to set up HTTP Load Balancing across the 2 servers. I am reading the Glassfish docs on this which say The load balancer plug-in supports only 32-bit versions of Apache Web Server. We built both servers from

[us...@httpd] Apache displaying directories

2010-08-19 Thread Francois Hall
Hi, I have Apache/2.2.3 running on an Arch Linux box, currently hosting about 500 odd domains. When I browse to a specific domain such as: http://www.domian.co.za/files.php?l=../../../../../etc/passwd it displays the contents of the file /etc/passwd , as with any directory that I might request

[us...@httpd] Apache reverse proxy to tomcat application server

2010-08-19 Thread linux
Hi List, I'm running mod_jk on a apache 2.2.14 connecting to a second host, running tomcat 5 server with a third party application. This application is configured to display some company internal information when accessing the page directly without any subdirectory: like: http://servername/ A

Re: [us...@httpd] Re : [us...@httpd] proxy_loadbalancer and failover

2010-08-19 Thread Rainer Jung
On 19.08.2010 16:44, michael bienstein wrote: Hi, Thanks for the help. I have a IIS listening on port 80 and nothing on port 81. Version is Apache/2.2.16 (Win32) Server Built: Jul 30 2010 16:15:37 Here's the changes I've made to the httpd.config from the default install: httpd.config Listen

Re: [us...@httpd] 32 or 64 bit install

2010-08-19 Thread Martin Hasicek
httpd -V will show you the architecture type. Architecture: 64-bit for 32bit compilation you need all necessary libraries 32bit. I'm sure, that you will find lot of howto on google about cross compilation. Just hint, maybe you should use another httpd server as a loadbalancer with

Re: [us...@httpd] 32 or 64 bit install

2010-08-19 Thread John Kennedy
On Thu, Aug 19, 2010 at 12:10 PM, Martin Hasicek martin.hasi...@gmail.comwrote: httpd -V will show you the architecture type. Architecture: 64-bit for 32bit compilation you need all necessary libraries 32bit. I'm sure, that you will find lot of howto on google about cross compilation.

Re: [us...@httpd] Apache reverse proxy to tomcat application server

2010-08-19 Thread Rainer Jung
On 19.08.2010 17:57, li...@cgi-net.ch wrote: Hi List, I'm running mod_jk on a apache 2.2.14 connecting to a second host, running tomcat 5 server with a third party application. This application is configured to display some company internal information when accessing the page directly without

Re: [us...@httpd] Apache displaying directories

2010-08-19 Thread Eric Covener
I changed all the Options Indexes to Options -Indexes in httpd.conf, even removed them, yet Apache still displays my directories. I tried adding the Options -Indexes to an .htaccess file, but still with no luck. That directives controls directory indexes created by mod_autoindex, not the

Re: [us...@httpd] Redirection based on HTTP Host header

2010-08-19 Thread MegaBrutal
Hello, Just to clarify it: so you want to accept HTTP and HTTPS connections on the same TCP port? MegaBrutal 2010/8/19 Frank Zappo frank_za...@hotmail.com: Good day, Is there a way to specify directives to scan the HTTP Host header for specific attributes, and then redirect based upon the

Re: [us...@httpd] Apache displaying directories

2010-08-19 Thread Darryle Steplight
You need to set a list of default files for apache to display. In most cases it's index.html, index.htm index.php etc. In your apache setting you need to have something like this DirectoryIndex index.html index.htm index.php On Thu, Aug 19, 2010 at 12:43 PM, Eric Covener cove...@gmail.com wrote:

[us...@httpd] Perl script are not running on Apache 2.2.15 / mod_fcgid Win32

2010-08-19 Thread Roey Almog r...@gmail.com
Hi, I have installed apache 2.2.15 with mod_fcgid on Windows XP SP3 and tried the perl example script in the mod_fcgid reference page but it is not working I get this in error log [Thu Jul 29 11:26:07 2010] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended.  : mod_fcgid: get overlap

RE: [us...@httpd] Redirection based on HTTP Host header

2010-08-19 Thread Frank Zappo
Thanks for responding, and apologies if I wasn't very clear. I have a server that is both RSA and ECC capable. I want the server to accept HTTPS connections from both RSA and ECC clients on the same TCP port. Presumably, the default port on the server will support only one of the algorithms

Re: [us...@httpd] Redirection based on HTTP Host header

2010-08-19 Thread pratyoosh sharma
You can use mod_rewrite to detect a HTTP Header, compare the value redirect to a local port if the condition is satisfied RewriteCond %{HTTP:HTTP_X_SOMEHEADER} RewriteRule ^/(.*)$ http://127.0.0.1:14333/$1 [P,L] On Thu, Aug 19, 2010 at 5:02 PM, Frank Zappo frank_za...@hotmail.comwrote:

Re: [us...@httpd] Redirection based on HTTP Host header

2010-08-19 Thread Eric Covener
On Thu, Aug 19, 2010 at 5:02 PM, Frank Zappo frank_za...@hotmail.com wrote: Thanks for responding, and apologies if I wasn't very clear. I have a server that is both RSA and ECC capable.  I want the server to accept HTTPS connections from both RSA and ECC clients on the same TCP port. 

Re: [us...@httpd] using protocols other than http

2010-08-19 Thread James Godrej
On the same mailing list I was told by some one who did documentation that this documentation is means as technical reference and not a complete how to. From: Rainer Jung rainer.j...@kippdata.de To: users@httpd.apache.org Sent: Thu, 19 August, 2010 2:19:56 PM

[us...@httpd] Apache 2.2.15 memory usage

2010-08-19 Thread Pravesh Rai
Hi All, Found that, on Windows x86 x64 setup, memory consumption (by httpd.exe) gets increased with time, under stress conditions. Is there way, through configuration settings, to control this resource usage ? Thanks, PR

Re: [us...@httpd] using protocols other than http

2010-08-19 Thread Frank Gingras
On 19/08/2010 9:27 PM, James Godrej wrote: On the same mailing list I was told by some one who did documentation that this documentation is means as technical reference and not a complete how to. From: Rainer Jungrainer.j...@kippdata.de To: