cookies cookies cookies

2000-12-12 Thread Greg Stark
How do I reliably remove a cookie from a browser's memory? I've only just begun to experiment but it seems if I set the cookie to "" or undef Apache::ASP doesn't send the right headers to remove the cookie. (Actually undef seems to corrupt the cookie). I could just write a handler to set the

Re: HTTP Mod_Perl mini-server

2000-12-03 Thread Greg Stark
Perrin Harkins [EMAIL PROTECTED] writes: On Fri, 3 Nov 2000, Vivek Khera wrote: Lately I've been getting very interested in using solid-state disks for high-performance issues. They're expensive, but if you need that much speed, they're worth it. Are they? I tried one once, and it

Re: open(FH,'|qmail-inject') fails

2000-10-02 Thread Greg Stark
Doug MacEachern [EMAIL PROTECTED] writes: On Mon, 25 Sep 2000, Stas Bekman wrote: All you care about is to measure the time between email sending start and end (when the process continues on its execution flow). Why should one care about the details of internal implementation. i

Re: multilanguage site

2000-09-01 Thread Greg Stark
can someone suggest me the best way to build a multilanguage web site (english, french, ..). I'm using Apache + mod_perl + Apache::asp (for applications) I'm really interested in what other people are doing here. We've just released our first cut at i18n and it's going fairly well. But so

problem with mod_proxy/mod_rewrite being used for the front-end proxy

2000-08-21 Thread Greg Stark
This isn't entirely on-topic but it's a solution often suggested for mod_perl users so I suspect there are other users here being bitten by the same problems. In fact the manner in which problems manifest are such that it's possible that many mod_perl users who are using mod_rewrite/mod_proxy to

Re: Apache::Perfmon 0.011

2000-08-21 Thread Greg Stark
Lupe Christoph [EMAIL PROTECTED] writes: Hmm. Apache::Benchmark sounds more like a benchmark driver to me. Apache::Instrumentation or so? Apache::Probe? Profile or even just Prof. I looked at this and really like the idea. Unfortunately I need to recompile my Apache to use it. What I think

Re: speed up/load balancing of session-based sites

2000-05-07 Thread Greg Stark
Further, what are the standard ways to load balance a session-tracking app across multiple servers when the sessions are stored in memory and a given user has to be consistently sent back to the same machine? Can round-robin DNS be counted on to send people back to the same server

Re: modproxy:modperl ratios...

2000-04-28 Thread Greg Stark
A few lessons on this arena: 1) Move your pictures to another server *even if you're using a proxy* Search back in the archives for my previous post on this topic. 2) If you use mod_proxy you can give it the same web root and have it serve some static objects itself instead of having to

Re: Killing off children

2000-04-13 Thread Greg Stark
What state was the process in? There are only two states that a process can be in that won't respond to -9: Zombie (Z in ps), in which case the process is already dead and Apache didn't wait on it properly. This isn't a problem just ignore it unless you can reproduce it in which case report

Re: Caching DBI handles with IPC?

2000-02-08 Thread Greg Stark
Saar Picker [EMAIL PROTECTED] writes: Thanks for responding. We currently are cacheing DB connections per-process. However, with 40-50 processes per server, and 4+ machines per DB server, and 3-5 connections per process, you can see how the number of connections per DB server gets rather

Re: Apache::Session, DBD::Oracle

2000-02-08 Thread Greg Stark
[EMAIL PROTECTED] (Robert Locke) writes: - store this string into Oracle (type is LONG) You really really don't want to be using LONG btw. How large is the data you're really storing anyways? Oracle can do varchars up to 2k unlike some other pesky databases. LONGs have a number of

Re: squid performance

2000-01-29 Thread Greg Stark
Leslie Mikesell [EMAIL PROTECTED] writes: I agree that it is correct to serve images from a lightweight server but I don't quite understand how these points relate. A proxy should avoid the need to hit the backend server for static content if the cache copy is current unless the user hits

Re: squid performance

2000-01-29 Thread Greg Stark
Leslie Mikesell [EMAIL PROTECTED] writes: The 'something happens' is the part I don't understand. On a unix server, nothing one httpd process does should affect another one's ability to serve up a static file quickly, mod_perl or not. (Well, almost anyway). Welcome to the real world

Re: squid performance

2000-01-20 Thread Greg Stark
Vivek Khera [EMAIL PROTECTED] writes: Squid does indeed cache and buffer the output like you describe. I don't know if Apache does so, but in practice, it has not been an issue for my site, which is quite busy (about 700k pages per month). I think if you can avoid hitting a mod_perl

Re: squid performance

2000-01-20 Thread Greg Stark
"G.W. Haywood" [EMAIL PROTECTED] writes: Would it be breaching any confidences to tell us how many kilobyterequests per memorymegabyte or some other equally daft dimensionless numbers? I assume the number you're looking for is an ideal ratio between the proxy and the backend server? No

Re: oracle : The lowdown

2000-01-19 Thread Greg Stark
Matt Sergeant [EMAIL PROTECTED] writes: Depends what the business is. If it is a serious business looking for VC I would actually suspect the inverse is true: MySQL is underkill (I think I just made that word up) due to its lack of transactions and other advanced features (yes, these things

Re: ASP Cookieless Sessions (WAS Re: Apache::ASP)

2000-01-02 Thread Greg Stark
Joshua Chamas [EMAIL PROTECTED] writes: It reoccured to me just now (back from a sessions methods discussion a long time ago) that these query string cookies might show up in the referer logs of other sites if you have offsite links on your session id pages. I tried a workaround just now

Re: mod_perl-1.21 and apache-1.3.9

1999-11-08 Thread Greg Stark
I don't think it was Apache's DSO support that was broken, I had httpd working just fine with dynamic everything except mod_perl. mod_perl worked usually but seg faulted with one obscure xs package. I think other similar problems have been observed too. In this case though I think the problem

Re: Problems building

1999-11-08 Thread Greg Stark
Has nobody seen these problems? It seems strange, I had no trouble building 1.3.4+1.19 on Solaris but this is a fresh build on Linux with 1.3.9+1.21 and these errors don't seem to be configuration dependent, they look like generic problems with the build system. What could be wrong? Greg Stark

Re: Memory problems

1999-11-03 Thread Greg Stark
[EMAIL PROTECTED] writes: Thanks Greg I strongly suggest you move the images to a separate hostname altogether. The proxy is a good idea but there are other useful effects of having a separate server altogether that I plan to write about in a separate message sometime. This

Problems building

1999-11-03 Thread Greg Stark
I'm trying to update to 1.3.9+1.21 but I'm having various problems: 1) The makefile seems to try to run ../apaci even though perl is two levels deep, so it can't find ../apaci, it would have to be ../../apaci === src/modules/perl gcc -I. -I../../include -I../../include/regex

Re: Failing to reconnect after Oracle shutdown abort (Apache::DBI)

1999-11-03 Thread Greg Stark
Jeffrey Baker [EMAIL PROTECTED] writes: That's what the driver handle's ping method is for. if (!$dbh-ping) { reconnect; } I suppose I could do a ping before every page, but really that's only a kludgy work-around. Really I would want to do this before every single query, and the right way

Re: Failing to reconnect after Oracle shutdown abort (Apache::DBI)

1999-11-02 Thread Greg Stark
Tim Bunce [EMAIL PROTECTED] writes: Has anyone experienced a situation where a process (httpd for example) can't reconnect to Oracle after a "shutdown abort"? Tim. As far as I can tell we never get a clean reconnection after any sort of connection problem. I don't even think it takes a

Re: Memory problems

1999-11-02 Thread Greg Stark
Stas Bekman [EMAIL PROTECTED] writes: I had huge problems yesterday. Our web site made it in to the Sunday Times and has had to serve 1/2 million request in the last 2 days. Oh, I thought there was a /. effect, now it's a sunday effect :) The original concept should be credited to

Re: setting cookies?

1999-11-02 Thread Greg Stark
I think if you send a 401 in response to a request that contained auth data the user will typically see a "Authentication failed" box, which may look bad compared to just getting the password dialog. Actually I couldn't get this to work a while back, but I didn't try very hard. "Andrei A.

Re: Failing to reconnect after Oracle shutdown abort (Apache::D BI)

1999-11-02 Thread Greg Stark
"Young, Geoffrey S." [EMAIL PROTECTED] writes: Incidentally, I have also noticed that on my Linux installation Oracle will not shutdown (or shutdown abort) while any of the httpd processes have persistent connections. That is, httpd must come down first for Oracle to shutdown cleanly.

Re: Problem setting up mod_proxy_add_forward

1999-11-01 Thread Greg Stark
Where was the proxy_add_forward patch again? -- greg

Re: Problem setting up mod_proxy_add_forward

1999-11-01 Thread Greg Stark
Vivek Khera [EMAIL PROTECTED] writes: "GS" == Greg Stark [EMAIL PROTECTED] writes: GS Where was the proxy_add_forward patch again? It ain't a patch, its a module. The Apache module registry has a pointer to it. Thanks, so where would I find this Apache module registry?

Profiling

1999-10-31 Thread Greg Stark
Does anyone have any idea how much overhead Apache::DProf or Apache::SmallProf add? Will it be possible to use these on a production system without having a severe impact? And has anyone used DBIx::Profile with mod_perl ? All I keep getting is: Can't locate object method "printProfile" via

Re: How to know PID of DB backend ?

1999-10-30 Thread Greg Stark
Oleg Bartunov [EMAIL PROTECTED] writes: Using ApacheDBI I keep persistent connections between httpd and db. Now I want to know PIDs of httpd children and database backend. For the httpd it's trivial but I don't know where to get PID of db backend. Regards, Oleg That

Re: Another IE5 complaint

1999-10-02 Thread Greg Stark
"Joe Pearson" [EMAIL PROTECTED] writes: Hi all, Maybe everyone already knows this, but I just discovered that whenever a IE5 user visits a page in their "Favorites", IE5 also trys to GET favicon.ico from the same site. Therefor I have hundreds of "File does not exist:" errors in my log

Re: XML and Apache

1999-01-03 Thread Greg Stark
There was a database posted on freshmeat specifically designed for storing XML data. I'm not sure what that would mean but perhaps it would be the solution for your problem? "Anthony Gardner" [EMAIL PROTECTED] writes: All, I have a problem. I want to use data in XML format and store it