[us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Martucci, Andy
Hi, I'm hoping that you can help me with an issue we have come across regarding some new development we're doing around the use of CGI Apache web services. I work in the Systems department for Premier Farnell (Leeds), we had an in-house course a while back that was presented by Paul Tuohy.. thi

Re: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Philip Wigg
> However, the problem we have stumbled onto is the maximum size of the query > string that we can use... this is limited to 8190 bytes... I believe this is > a "Directive" constraint in Apache called: LimitRequestLine > > We understand that there isn't such a limit using a "post" request but > bef

RE: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Martucci, Andy
Hi Phil Alas that isn't possible... there is a constraint in Apache that limits this to 8190... see following help text from Apache: Maximum request line: allows you to reduce the limit on the allowed size of a client's HTTP request-line below the normal input buffer size compiled with the ser

Re: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Philip Wigg
> Alas that isn't possible... there is a constraint in Apache that limits this > to 8190... see following help text from Apache: > Default: places 8190 in the edit field and "Bytes" in the first drop-down > menu. > Maximum: places 8190 in the edit field and "Bytes" in the first drop-down > menu

RE: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Martucci, Andy
Sorry, yes that snippet was taken from the Server... Directive. OK then I can certainly look into what you have said, I had thought we were on the latest version but maybe we aren't. When I've spoken to our Ops team I'll get back to you. Many thanks for taking the time to respond, very much app

RE: [us...@httpd] proxy 502 problem uploading a large file

2009-11-25 Thread Boyle Owen
> -Original Message- > From: Scott Chapman [mailto:schap...@mischko.com] > Sent: Wednesday, November 25, 2009 12:28 AM > To: users@httpd.apache.org > Subject: [us...@httpd] proxy 502 problem uploading a large file > > I have Apache 2.2.11 and a web server behind it (CherryPy). > When I up

RE: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Martucci, Andy
I've been reliably informed that 8190 bytes is the maximum size available for the get method and anything over this should be done using the post method. Thanks to all that took the time to look at this for me. Regards, Andy. -Original Message- From: Philip Wigg [mailto:p...@philipwigg

Re: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Nick Kew
On 25 Nov 2009, at 10:18, Martucci, Andy wrote: > I've been reliably informed that 8190 bytes is the maximum size available for > the get method and anything over this should be done using the post method. IIRC the HTTP spec limits it to 2kb, so you can't rely on any agent (server, browser or

[us...@httpd] mod_proxy configuration issue

2009-11-25 Thread Bastien Semene
Hi List, I'm new to mod_proxy and I think my problem is really a newbie problem but I didn't find the answer in the doc or Google. I set up a forward proxy but I can reach only web pages located on this server (any vhost of this server), I can't reach web servers on the local network or the

RE: [us...@httpd] mod_proxy configuration issue

2009-11-25 Thread Emmanuel Bailleul
> -Message d'origine- > De : Bastien Semene [mailto:bsem...@cyanide-studio.com] > Envoyé : mercredi 25 novembre 2009 12:12 > À : users@httpd.apache.org > Objet : [us...@httpd] mod_proxy configuration issue > > Hi List, > > I'm new to mod_proxy and I think my problem is really a newbie pro

[us...@httpd] Invalid command error Load balancer on Solaris 10

2009-11-25 Thread Onur Ağın
Hi, I have compiled and installed apache httpd sources on solaris 10. My configure statement was: I am trying to test load balancing... ./configure -prefix=/export/home0/xxx/httpserver --enable-proxy --enable-proxy-connect --enable-proxy-http I get this error when I start apache: Invalid command

RE: [us...@httpd] proxy 502 problem uploading a large file

2009-11-25 Thread Prigge Scott
Hi Scott, I recently posted a message to the group about a 502 error I was getting: http://mail-archives.apache.org/mod_mbox/httpd-users/200911.mbox/%3c9a7d6213f32e30428d8c94e8441c8ac85c8a8...@edxmb25.jdnet.deere.com%3e Given the description of your environment, it's not clear if my situation r

Re: [us...@httpd] Invalid command error Load balancer on Solaris 10

2009-11-25 Thread Tom Evans
On Wed, Nov 25, 2009 at 1:04 PM, Onur Ağın wrote: > Hi, > > I have compiled and installed apache httpd sources on solaris 10. > My configure statement was: > > I am trying to test load balancing... > ./configure -prefix=/export/home0/xxx/httpserver --enable-proxy > --enable-proxy-connect --enable

[us...@httpd] Apache httpd replication / proxy mirror server?

2009-11-25 Thread nino martinez wael
Hi Guys Is it possible somehow to use httpd for replicate files between servers ? We have a use case where a user will place a file on one of the apache servers and then it should get replicated towards the other servers.. regards Nino

Re: [us...@httpd] Apache httpd replication / proxy mirror server?

2009-11-25 Thread Tom Evans
On Wed, Nov 25, 2009 at 2:09 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Hi Guys > > Is it possible somehow to use httpd for replicate files between servers ? > > We have a use case where a user will place a file on one of the apache > servers and then it should get replicated

Re: [us...@httpd] Apache httpd replication / proxy mirror server?

2009-11-25 Thread nino martinez wael
hmm yeah I know, but it's on windows :/ Just wanted to know if we could stay withing httpd for this one... 2009/11/25 Tom Evans > On Wed, Nov 25, 2009 at 2:09 PM, nino martinez wael < > nino.martinez.w...@gmail.com> wrote: > >> Hi Guys >> >> Is it possible somehow to use httpd for replicate file

Re: [us...@httpd] Apache httpd replication / proxy mirror server?

2009-11-25 Thread Nick Kew
nino martinez wael wrote: hmm yeah I know, but it's on windows :/ Just wanted to know if we could stay withing httpd for this one... It's not apache's business. But you could add a CMS that manages replication. Or store the data in a replicating database. Or variants on that theme. Or of cou

Re: [us...@httpd] proxy 502 problem uploading a large file

2009-11-25 Thread Scott Chapman
Boyle Owen wrote: >> -Original Message- >> From: Scott Chapman [mailto:schap...@mischko.com] >> Sent: Wednesday, November 25, 2009 12:28 AM >> To: users@httpd.apache.org >> Subject: [us...@httpd] proxy 502 problem uploading a large file >> >> I have Apache 2.2.11 and a web server behind it

Re: RE: [us...@httpd] mod_proxy configuration issue

2009-11-25 Thread Bastien Semene
The default vhost was the problem. I renamed the vhost file so it is loaded first and it works like a charm now. Thanks a lot. Emmanuel Bailleul a écrit : -Message d'origine- De : Bastien Semene [mailto:bsem...@cyanide-studio.com] Envoyé : mercredi 25 novembre 2009 12:12 À : users@htt

Re: [us...@httpd] proxy 502 problem uploading a large file

2009-11-25 Thread Scott Chapman
Your post has the same stuff mine does. I'm using SiteMinder for enterprise single sign on via Apache. I turned it off and the upload worked. Thanks! Prigge Scott wrote: > Hi Scott, I recently posted a message to the group about a 502 error I was > getting: > > http://mail-archives.apache.org/

Re: [us...@httpd] Apache httpd replication / proxy mirror server?

2009-11-25 Thread nino martinez wael
True it's not apaches business, but would be stupid if it was possible, hence me asking. I did a search for replication module but could'nt find anything, so I figured that I either searched with wrong words or it was not possible. Asking this list was then my best shot. Forgot to say thanks to To

RE: [us...@httpd] proxy 502 problem uploading a large file

2009-11-25 Thread Prigge Scott
:D I just saved you about a month worth of work... Try adding this directive to your SM policy: LegacyStreamingBehavior = YES > -Original Message- > From: Scott Chapman [mailto:schap...@mischko.com] > Sent: Wednesday, November 25, 2009 8:46 AM > To: users@httpd.apache.org > Subject: Re

Re: [us...@httpd] Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-25 Thread Mark H. Wood
Unless you are Amazon or Google, any reason you might find for choosing one vs. the other will probably have little to do with performance. Recent Tomcat versions are not notably slow at serving static content. And remember, with HTTPD/Tomcat, every request and response has to make an extra trip

Re: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Hendrik Schmieder
Nick Kew schrieb: On 25 Nov 2009, at 10:18, Martucci, Andy wrote: I've been reliably informed that 8190 bytes is the maximum size available for the get method and anything over this should be done using the post method. IIRC the HTTP spec limits it to 2kb, so you can't rely on any agent (ser

Re: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Nick Kew
Hendrik Schmieder wrote: Do you know the rfc number for 'HTTP spec limits it to 2kb' ?. I said IIRC, and it's a memory from a long time ago - pre-rfc2616. It may no longer be valid, but it was standard advice in the early days: don't make GET requests bigger than 2k. Of course, no standard li

Re: [us...@httpd] Apache httpd replication / proxy mirror server?

2009-11-25 Thread André Warnier
nino martinez wael wrote: hmm yeah I know, but it's on windows :/ Just wanted to know if we could stay withing httpd for this one... Well, exactly /how/ do the users put files on this server ? You have not even explained if they put these files there using Apache somehow. There is nothing tha

[us...@httpd] Configuration change for 2.0

2009-11-25 Thread Onur Ağın
Hi, Configuration below works fine in 2.2 but I have to run it on 2.0 apache 2.0 it says balancer member not found. What is the equal configuration for 2.0 # Proxy ProxyRequests Off Order deny,allow Allow from all BalancerMember http://:7102 BalancerMember http://:7106 Proxy

Re: [us...@httpd] Memory / Process leak

2009-11-25 Thread Michael A. Pasek
In users Digest 25 Nov 2009, Issue 3715, Peter N. Lewis wrote: > Clearly, no one has any particularly helpful suggestions on what to do > differently. > > Apache, even under relatively light load, swallowed up 700+MB over two days. > > So the only path forward I can see is to restart apache fairly

Re: [us...@httpd] Configuration change for 2.0

2009-11-25 Thread Mark Watts
On Wed, 2009-11-25 at 17:19 +0200, Onur Ağın wrote: > Hi, > > > Configuration below works fine in 2.2 but I have to run it on 2.0 > apache 2.0 it says balancer member not found. > > What is the equal configuration for 2.0 Apache 2.0.x does not include mod_proxy_balancer. It is a module only av

[us...@httpd] Issue with mod_proxy and customer proxy

2009-11-25 Thread Jérémie Grauer
Hello, I have changed our main reverse proxy server on our network from an old debian woody server with apache httpd 1 to a debian lenny with apache httpd version 2.2.9-10+lenny6. Before, our customer had no problem with the reverse proxy, but now, some of them can no longer use our proxied w

Re: [us...@httpd] Apache httpd replication / proxy mirror server?

2009-11-25 Thread nino martinez wael
It's a bit complicated. So I'll try to explain it in a simple way. The user are calling(via phone) an IVR application which in turns interprets vxml. The vxml page then has an option to record and save the recording. When the vxml page saves the recording it saves towards tomcat which then places

[us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread John J. Consolati
Hello, Hopefully someone will be able to help, as I've been working on this problem for quite a while and have hit a wall. I'm trying to upgrade Apache 2.0.47 to 2.2.14, and I need SSL support. Everything seems to build and compile okay, but when I try to access my site running on 2.2.1

RE: [us...@httpd] Adding module to Apache-httpd

2009-11-25 Thread Ruiyuan Jiang
I compiled remoteip module and loaded it without problem. In one of my virtualhost of Apache reverse proxy, I added and tested: RemoteIPHeader X-Client-IP Or RemoteIPHeader X-Forwarded-For Or both I don't see the remote client IP is being forwarded to the backend server from Apache as it suppos

Re: [us...@httpd] ProxyPass - mod_proxy

2009-11-25 Thread Aruna Gummalla
client y is a http server but i dont want to expose client y to client x. I am new to this Apache httpd server so I dont know whether it should be configured as a forward proxy or reverse proxy. Right now i am configuring it as reverse proxy but it doesnt work. Please help. Thanks & Regards, A

Re: [us...@httpd] ProxyPass - mod_proxy

2009-11-25 Thread Tom Evans
"It doesn't work" is useless. If you want help, explain what you tried, what happens when you try that, and provide your configuration and logs. Otherwise, the only response anyone can give is "It works just fine for me". Cheers Tom

[us...@httpd] Re: RewriteRule in neither "foo/.htaccess" nor ".htaccess" can match http://example.com/.../foo

2009-11-25 Thread Jack Bates
> On 11/24/09, Jack Bates freezone.co.uk> wrote: > > * /foo/ to deliver /foo/index.html, or whatever it would naturally > deliver > > * /foo to deliver /foo.html always > > IIUC, your problem boils down to: > > /.htaccess has your desired behavior > /foo/.htaccess has some undesired, incompat

Re: [us...@httpd] ProxyPass - mod_proxy

2009-11-25 Thread Aruna Gummalla
This is what I am doing and an example of my configuration I am trying to configure mod_proxy. I want Apache to be the proxy server. There is a client x which talks to Apache and Apache in turn passes on this request to other client y. The client y responds to Apache and in turn should send the re

RE: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread daniel . goulder
This sounds like a Solaris bug. Make sure you have a recent version of Solaris or the latest patches installed... What release/patch level are you using? Danny From: "John J. Consolati" [mailto:"John J. Consolati" ] Sent: 25 November 2009 17:23 To: users@h

RE: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread daniel . goulder
Also what compiler are you using? Sometimes if you use GCC on Solaris APR gets upset. Try Sun Studio if you're not already using it. From: "John J. Consolati" [mailto:"John J. Consolati" ] Sent: 25 November 2009 17:23 To: users@httpd.apache.org Subject: [us.

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread Sander Temme
On Nov 25, 2009, at 9:23 AM, John J. Consolati wrote: > Hopefully someone will be able to help, as I've been working on this problem > for quite a while and have hit a wall. I'm trying to upgrade Apache 2.0.47 > to 2.2.14, and I need SSL support. Everything seems to build and compile > okay,

[us...@httpd] Re: webdav and permissions [Solved]

2009-11-25 Thread LuKreme
On 23-Nov-2009, at 18:10, LuKreme wrote: > < > RewriteEngine On > RewriteBase / > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule . /index.php [L] > RewriteRule ^u/([0-9]+)$ wp-content/plugins/short-url-plugin/u.php?$1|$2 > I modified the htaccess file ho

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread John J. Consolati
Thank you for the reply. Unfortunately, upgrading Solaris isn't an option. Here is the version I have to work with (quite old..): bash-2.05# cat /etc/release Solaris 9 4/04 s9s_u6wos_08a SPARC Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.

Re: [us...@httpd] Apache httpd replication / proxy mirror server?

2009-11-25 Thread André Warnier
nino martinez wael wrote: It's a bit complicated. So I'll try to explain it in a simple way. The user are calling(via phone) an IVR application which in turns interprets vxml. The vxml page then has an option to record and save the recording. When the vxml page saves the recording it saves towar

Re: [us...@httpd] Re: RewriteRule in neither "foo/.htaccess" nor ".htaccess" can match http://example.com/.../foo

2009-11-25 Thread André Warnier
Jack Bates wrote: ... Hi again. I am not saying here that you are necessarily wrong, or that there is not a good justification to what you are trying to do, or to what you asserted at the end of the previous post. But one thing you should be aware of, is that when you place instructions in a .hta

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread Sander Temme
On Nov 25, 2009, at 10:17 AM, John J. Consolati wrote: > Thank you for the reply. > > Unfortunately, upgrading Solaris isn't an option. Here is the version I have > to work with (quite old..): > > bash-2.05# cat /etc/release >Solaris 9 4/04 s9s_u6wos_08a SPARC >

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread John J. Consolati
Here is the complete command: openssl s_server -cert /erd/www/erd/server/apache/httpd-2.2.14/ installed/conf/ssl.crt/www-erdc.crt -key /erd/www/erd/server/apache/ httpd-2.2.14/installed/conf/ssl.key/www-erdc.secureprivate.key - CAfile /erd/www/erd/server/apache/httpd-2.2.14/installed/conf/ssl.

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread John J. Consolati
Just checked into it further, and the ldd might not be a problem (I think?) The LD_LIBRARY_PATH env variable is being set to a location where the / wrong/path files are. Is that a good enough solution? As far as the Apache configuration, it is correct to my knowledge...I followed the appr

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread Dan_Mitton
John, You should not need to upgrade Solaris. I've got apache running on a solaris 9 box just fine. Your "wrong path" shouldn't be a problem either. Those are just "the last place to look" for an .so. Solaris will use what is in the 'crle' command and the LD_LIBRARY_PATH environment variabl

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread Dan_Mitton
John, This is a (very) short explanation of the error code at: http://www.mozilla.org/projects/security/pki/nss/ref/ssl/sslerr.html and this one has a possible cause: http://serverfault.com/questions/63167/sslerrorbadmacalert-error-in-firefox You might want to Google the message for more info.

[us...@httpd] name based virtual hosts for multiple domains?

2009-11-25 Thread Zachary Uram
Hi, I have a VPS running Debian and Apache 2.2 and I'd like to setup name based virtual hosts in Apache for several domains and I will have several subdomains for each domain. Is this possible? For example: www.site1.org with subdomains blog.site1.org, wiki.site1.org www.site2.org with subdomain

Re: [us...@httpd] name based virtual hosts for multiple domains?

2009-11-25 Thread Roger
On Wed, Nov 25, 2009 at 4:35 PM, Zachary Uram wrote: > Hi, > > I have a VPS running Debian and Apache 2.2 and I'd like to setup name > based virtual hosts in Apache for several domains and I will have > several subdomains for each domain. Is this possible? For example: > > www.site1.org with subd

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread John J. Consolati
Dan, The error occurs on both Safari and Firefox on Apache 2.2.14. We don't have IE in our environment. Both Safari and Firefox work as they should with 2.0.47. It looks like mod_ssl.c is compiled in -- it shows up with httpd -l. I've checked the links you sent me. The description doesn

[us...@httpd] apache 2.2.13 SSL renegotiation vulnerability

2009-11-25 Thread David Taveras
Hello, Ive seen that 2.2.14 comes with a patch for the recent SSL renegotiation vulnerability. Could anybody tell me if there is a patch available for apache 2.2.13 .. iam not ready to update yet. Thank you. David - The officia

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread Dan_Mitton
We are only at Apache 2.2.9, but don't have any problems. The command I use to build apache with is: ./configure --prefix=/usr/local/apache-2.2.9 --with-ssl=/usr/local/ssl --with-z=/usr/local/lib --enable-ssl --enable-cache --enable-disk-cache --enable-mem-cache --enable-autoindex --enable-mod

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread John J. Consolati
Here are the build commands I've tried: ./configure --prefix=/home/consolati1/apache/httpd-2.2.14/installed -- enable-static-support --enable-ssl --with-ssl=/home/consolati1/openssl/ openssl-0.9.8l/installed --with-mpm=prefork ./configure --prefix=/home/consolati1/apache/httpd-2.2.14/installe

Re: [us...@httpd] SSL on Apache 2.2.14

2009-11-25 Thread Dan_Mitton
I would stick with openssl-0.9.8l, the other have a bunch of vulnerabilities, but that can get taken care of once this other problem is fixed :) When you built OpenSSL, did you build it "shared"? My command is: ./config shared zlib-dynamic --prefix=/usr/local/ssl-0.9.8l --openssldir=/usr/loca

Re: [us...@httpd] name based virtual hosts for multiple domains?

2009-11-25 Thread Iñigo Medina
I have a VPS running Debian and Apache 2.2 and I'd like to setup name based virtual hosts in Apache for several domains and I will have several subdomains for each domain. Is this possible? For example: Sure you can. Look at doc on apache.org and look at module vhost_alias since it's usually

[us...@httpd] Limiting Connection per virtual host and Custom messaging

2009-11-25 Thread Mohit Anchlia
Apache 2.11: Couple of questions: 1. Is there a way to limit Max Client Connections per virtual host? 2. When Max Connection is reached, is there a way to return custom error message in the response? For eg: "Please try again in 15mts." ---

[us...@httpd] limiting diretory/file content?

2009-11-25 Thread Zachary Uram
I wish to use Apache 2.2 to limit where users may go. I wish to avert the so-called "fishing" where a user sees: (note that I will be using name based virtual hosts to host multiple domains on the same physical server/same ip) http://www.site.org/whatever/something.html and tries to access http:/

Re: [us...@httpd] limiting diretory/file content?

2009-11-25 Thread Iñigo Medina
http://www.site.org/whatever/something.html and tries to access http://www.site.org/whatever/ I would like it on a directory basis, a file basis may be needed later but not for now. Which rule would you set to disable access? Rule based on IP for instance? If a user tries to access a forbidd

Re: [us...@httpd] Limiting Connection per virtual host and Custom messaging

2009-11-25 Thread Iñigo Medina
1. Is there a way to limit Max Client Connections per virtual host? At least 2: - mod_slotlimit: http://sourceforge.net/projects/mod-slotlimit/ - Vhost Limit Module: http://modules.apache.org/search.php?id=698 iñ - The offi

RE: [us...@httpd] apache 2.2.13 SSL renegotiation vulnerability

2009-11-25 Thread Boyle Owen
> -Original Message- > From: David Taveras [mailto:d3taveras3...@gmail.com] > Sent: Wednesday, November 25, 2009 10:56 PM > To: users@httpd.apache.org > Subject: [us...@httpd] apache 2.2.13 SSL renegotiation vulnerability > > Hello, > > Ive seen that 2.2.14 comes with a patch for the rec