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

2009-04-16 Thread Dietmar . Mueller
Hi all, I play a long time with rewrite to get follow rule: server/foo/(.*) should proxied to server/abc/$1 This works with RewriteRule /foo/(.*) /abc/$1 [P] then all requests to directory /foo are proxied (also with arguments) to /abc/ but now I need one exception: /foo should be proxied /

Re: [us...@httpd] Rewrite all except one case

2009-04-16 Thread Doug Bell
On Apr 16, 2009, at 3:07 AM, dietmar.muel...@eurotours.at wrote: Hi all, I play a long time with rewrite to get follow rule: server/foo/(.*) should proxied to server/abc/$1 This works with RewriteRule /foo/(.*) /abc/$1 [P] then all requests to directory /foo are proxied (also with arguments

Re: [us...@httpd] Rewrite all except one case

2009-04-16 Thread Krist van Besien
On Thu, Apr 16, 2009 at 10:07 AM, wrote: > Hi all, > > I play a long time with rewrite to get follow rule: > > server/foo/(.*) should proxied to server/abc/$1 > > This works with > RewriteRule /foo/(.*) /abc/$1  [P] > > then all requests to directory /foo are proxied (also > with arguments) to /a

[us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread asd asd
I'm trying to get an accurate request/per second of my apache for different pages and for different server options. I am using both ab and siege against apache to try to find out how many users can be loading a specific page at a time. I find that if when concurrent connections are set to a

Re: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread Prasanna Ram Venkatachalam
Did the error log say something? It surely will have something incase its not able to find any resources or breached any limits! Regards Prasanna Ram On Thu, Apr 16, 2009 at 5:57 PM, asd asd wrote: > > I'm trying to get an accurate request/per second of my apache for different > pages and for

Re: [us...@httpd] cgi http complete header

2009-04-16 Thread Ruben Lihet
please... help ? How canI get rid of the extra http headers apache is sending ? 2009/4/16 Ruben Lihet : > I managed to get rid of the .htacces error. I had to add a > RedirectBase /cgi-bin directive to the .htacces and now it's working. > But another problem occured. > > Now because mod_rewrite i

Re: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread yalag
The error log is empty! Is there some sort of limit put on number of requests allowed from external host? I just tried ab -n 10 -c 300 http://localhost/ and it did not show the "drop dead" behavior after a certain period of time. However local benchmarking seems to have a ceiling of its own

Re: [us...@httpd] cgi http complete header

2009-04-16 Thread Eric Covener
On Thu, Apr 16, 2009 at 10:07 AM, Ruben Lihet wrote: > please... help  ? > How canI get rid of the extra http headers apache is sending ? Does it help if you use "-" (no quotes) for your substitution, just to get the side-effect of the RewriteRule? -- Eric Covener cove...@gmail.com ---

[us...@httpd] Regarding modules mod_fastcgi, mod_perl and mod_oprocmgr.

2009-04-16 Thread Tarun Narang
Hi Guys I have to completely replace the Apache 1.3 HTTP server with Apache 2.2. In Apache 1.3 modules like mod_fastcgi, mod_perl and mod_oprocmgr are present. Now I just wanted to confirm two things, 1) If our application does not use any CGI or perl scripts, Is it necessary to have the

RE: [us...@httpd] mod_proxy and mod_rewrite issue

2009-04-16 Thread inas inassen
Thanks Andre, Yes you right, I'm not using the same port and either the same server My URL is: http://myserver.com/myapp and it's redirected by apache to http://mybackend.com:8080/myapp using mod_proxy_http and ajp://mybackend.com:8009/myapp using mod_proxy_ajp and both work fine. m

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-16 Thread Aaron Turner
On Wed, Apr 15, 2009 at 10:33 PM, Krist van Besien wrote: > On Thu, Apr 16, 2009 at 12:30 AM, Aaron Turner wrote: >> Looks like I figured it out. >> >> OSX's internal name resolution API calls (gethostbyname?) apparently >> doesn't honor /etc/resolv.conf, but the 'host' command does. > > This is

Re: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread Prasanna Ram Venkatachalam
Could you give more detail about your apache? Also wud be better if u give the details of MPM mode u are using and their configuration details. I dont think there is any limit reg requests specific from external host. Prasanna Ram On Thu, Apr 16, 2009 at 7:47 PM, wrote: > apr_socket_recv: Conne

[us...@httpd] Apache ldap authentication and secrurity

2009-04-16 Thread apache
Server - RH5 httpd-2.2.3 I have setup a server that uses ssl ldap authentication. This all works fine. I am trying to understand the connection from a client browser to the server. I am sniffing the packets on the server with tcpdump and also have tried wireshark. Since the server is using http

Re: [us...@httpd] Apache ldap authentication and secrurity

2009-04-16 Thread Eric Covener
On Thu, Apr 16, 2009 at 12:24 PM, wrote: > Server - RH5 httpd-2.2.3 > > I have setup a server that uses ssl ldap authentication.  This all works > fine.  I am trying to understand the connection from a client browser to > the server.  I am sniffing the packets on the server with tcpdump and > als

[us...@httpd] Re: Wildcard patterns not allowed in Include /home/www/*/*.conf

2009-04-16 Thread Michelle Konzack
Am 2009-04-13 08:04:38, schrieb Dan Poirier: > Looking at the code, wildcards are only allowed in the last component of > the path. So "Include /home/www/foo/*.conf" is okay, but not "Include > /home/www/*/httpd.conf". I wish, it could... Thanks, Greetings and nice Day/Evening Michelle Konza

Re: [us...@httpd] cgi http complete header

2009-04-16 Thread Ruben Lihet
Where do I have to put the dash "-" ? In this rule: RewriteRule ^([^/\.]+)/?$ nph-main.cgi?lid=$1&header=%{HTTP:Range} 2009/4/15 Ruben Lihet : > Okay, so .. > I made a little test. In the same directory with my cgi script I write > a .htaccess file containig this: > > Allow from all > Options +Fo

Re: [us...@httpd] cgi http complete header

2009-04-16 Thread Eric Covener
On Thu, Apr 16, 2009 at 2:52 PM, Ruben Lihet wrote: > Where do I have to put the dash "-" ? In this rule: > > RewriteRule ^([^/\.]+)/?$ nph-main.cgi?lid=$1&header=%{HTTP:Range} I don't really follow what you're doing with the rule, but I was thinking more like: RewriteCond %{HTTP:Range} (.*) Re

Re: [us...@httpd] cgi http complete header

2009-04-16 Thread Ruben Lihet
Yep, thats exactly what I needed. And it's very logical. When a range request is made, mod_rewrite sets an environment variable with the corresponding value. Thanks! Problem solved. 2009/4/16 Eric Covener : > On Thu, Apr 16, 2009 at 2:52 PM, Ruben Lihet wrote: >> Where do I have to put the dash "

[us...@httpd] WebDAV works for anything but Windows Vista and Windows 7

2009-04-16 Thread antispam . apache . org
Hi all, my WebDAV setup works fine for Windows XP, Linux, Mac OS X, Java, but it doesn't work at all when using the native WebDAV client of Windows Vista (and Windows 7). https://www.numlock.ch/webdav/testshare user: testshare pwd: testshare The share uses a self-signed certificate and the

[us...@httpd] Apache won't display index.cgi

2009-04-16 Thread Mike Diggins
I'm running Apache 2.0.58 and Apache2-AuthenRadius-0.6 for authentication on a Sun Sparc V210. I was running another radius module but this one seems better, so I switched. However, I can no longer get Apache to display my index.cgi page when I browse to the directory it's in. It prompts for

Re: [us...@httpd] WebDAV works for anything but Windows Vista and Windows 7

2009-04-16 Thread André Warnier
antispam.apache@numlock.ch wrote: Hi all, my WebDAV setup works fine for Windows XP, Linux, Mac OS X, Java, but it doesn't work at all when using the native WebDAV client of Windows Vista (and Windows 7). [snip] I already tried a lot of the (server and client side) hints I found on th

Re: [us...@httpd] WebDAV works for anything but Windows Vista and Windows 7

2009-04-16 Thread André Warnier
André Warnier wrote: antispam.apache@numlock.ch wrote: Hi all, my WebDAV setup works fine for Windows XP, Linux, Mac OS X, Java, but it doesn't work at all when using the native WebDAV client of Windows Vista (and Windows 7). [snip] I already tried a lot of the (server and client side

RE: [us...@httpd] WebDAV works for anything but Windows Vista and Windows 7

2009-04-16 Thread Pete.LeMay
Vista and I'm assuming W7 have issues with most webdav, These are the extra steps on the client I've had to do to make vista work with webdav from a win server. (a) The below update must be applied. http://www.microsoft.com/downloads/details.aspx?FamilyId=17C36612-632E-4C04-9382-987622ED1D

Re: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread yalag
[Test ~]# httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c [Test ~]# httpd -v Server version: Apache/2.2.11 (Unix) Server built: Mar 6 2009 09:12:52 It is a fresh install on fedora 10, with the default configuration benchmarking the default welcome page. Can anyone

[us...@httpd] How exactly does ab -n works? Please?

2009-04-16 Thread yalag
I read so many man pages but I still don't understand this, the -n flag basically tells it to make n number of requests. So assuming my server can take 10 request per second, I would expect ab -100 to take 10 seconds and ab -1000 to take 100 seconds. But that is not the case. I find that if I do

Re: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread William A. Rowe, Jr.
asd asd wrote: > > I find that if when concurrent connections are set to anything above > 50-100, the server will run fine for 5-10 seconds but then completely > stops accepting new connections after that. Not the server, this is TCP/IP 101. Client and server exhaust the number of possible tuple

Re: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread yalag
So unless I use multiple boxes, I'm not going to be able to service more than 50-100 requests per second no matter how fast apache is? -- From: "William A. Rowe, Jr." Sent: Thursday, April 16, 2009 6:27 PM To: Subject: Re: [us...@httpd] Weird tim

Re: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread William A. Rowe, Jr.
ya...@hotmail.com wrote: > So unless I use multiple boxes, I'm not going to be able to service more > than 50-100 requests per second no matter how fast apache is? Read it again, that's not what I said. READ. Learn. - The off

RE: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread asd asd
That is exactly what you said. Unless you mean keep alives? That's useless I 'm trying to serve requests from different clients, not multiple requests from the same client. So how is this going to work with connections getting exhausted at 100? > Date: Thu, 16 Apr 2009 18:43:12 -0500 > From: w

Re: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread Prasanna Ram Venkatachalam
Guys, if i remember currently the default number of concurrent connections served by apache is 256. Right? Shud be good if u tune prefork settings further in httpd-mpm.conf and then rerun your test. Regards Prasanna Ram On Fri, Apr 17, 2009 at 6:07 AM, asd asd wrote: > That is exactly what you

Re: [us...@httpd] Apache won't display index.cgi

2009-04-16 Thread Prasanna Ram Venkatachalam
Is it possible that the authentication module (whatever it is) you are using overrides the default index page settings of apache? If thats so, it wud be better to look into the paramters used with that particular module! Since without the module, its working, this might be the reason. (sorry i dont

Re: [us...@httpd] Weird timeout connections during benchmark (apache completely stops)?!

2009-04-16 Thread William A. Rowe, Jr.
asd asd wrote: > That is exactly what you said. Unless you mean keep alives? Yup. > That's > useless I 'm trying to serve requests from different clients, not > multiple requests from the same client. So how is this going to work > with connections getting exhausted at 100? Measuring the 'conne

[us...@httpd] Unsubscribe

2009-04-16 Thread Durga Prasad (duprasad)
Please Unsubscribe me. Thanks, Durga

Re: [us...@httpd] Unsubscribe

2009-04-16 Thread Glen Barber
I'd like to think most people would at least try to follow the 'correct way(tm)' to unsubscribe... -- Glen Barber - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist

Re: [us...@httpd] Unsubscribe

2009-04-16 Thread Evan Platt
At 06:45 PM 4/16/2009, Durga Prasad (duprasad) wrote: Please Unsubscribe me. As the headers of every message say: list-unsubscribe: - The official User-To-User support forum of th

Re: [us...@httpd] Unsubscribe

2009-04-16 Thread Ken Zhao
**Hi Durga! Thank you and please send an email to users-unsubscr...@httpd.apache.org Btw, Are u really work at Cisco? :) On 4/17/09, Durga Prasad (duprasad) wrote: > > Please Unsubscribe me. > > Thanks, > Durga > -- Ken Zhao (SL: Ken March) http://zhaoke.com

Re: [us...@httpd] How exactly does ab -n works? Please?

2009-04-16 Thread Eric Covener
On Thu, Apr 16, 2009 at 5:47 PM, wrote: > I read so many man pages but I still don't understand this, the -n flag > basically tells it to make n number of requests. So assuming my server can > take 10 request per second, I would expect ab -100 to take 10 seconds and ab > -1000 to take 100 seconds

[us...@httpd] chunked encoding & mod_deflate

2009-04-16 Thread howard chen
Hello, Just want to ask if possible to set mod_deflate + chunked encoding together, similar to yahoo.com, e.g. Transfer-Encoding=chunked Content-Encoding=gzip Currently I found if I set mod_deflate to process my php program, then it will skip Transfer-Encoding=chunked Any idea? Thanks.