Re: [Webware-devel] mime type of served documents

2002-01-11 Thread Federico Di Gregorio
ops, sorry. i sent my last mail before noting that the answer i got was hidden in a reply to a reply i never got. UnknownFileTypeServlet.py is the solution. Il sab, 2002-01-12 alle 00:08, Aaron Held ha scritto: > I used > def writeHTML(self): > self.response().setHeader('Content-Disposition'

Re: [Webware-devel] mime type of served documents

2002-01-11 Thread Federico Di Gregorio
Il sab, 2002-01-12 alle 00:08, Aaron Held ha scritto: > I used > def writeHTML(self): > self.response().setHeader('Content-Disposition','attachment;filename=Report.xls') > self.response().setHeader('content-type', 'application/vnd.ms-excel') here you're serving a particular file. i have a c

Re: [Webware-devel] mime type of served documents

2002-01-11 Thread Aaron Held
I used def writeHTML(self): self.response().setHeader('Content-Disposition','attachment;filename=Report.xls') self.response().setHeader('content-type', 'application/vnd.ms-excel') before I generate and send an excel file Thanks, -Aaron - Original Message - From: "Ian Bicking" <[EMA

Re: RE: [Webware-devel] I need a favor and a compiled isapi dll

2002-01-11 Thread Aaron Held
> Why would the firewall slow down wkcgi.exe any more than the ISAPI filter > does? As far as the socket connections are concerned, I think they pretty > much do the same thing -- establish a new socket connection for each request. I was hoping that the .dll would reuse open sockets and not co

Re: [Webware-devel] mime type of served documents

2002-01-11 Thread Ian Bicking
UnknownFileTypeServlet.py seems to already do this. filetype = mimetypes.guess_type(filename) mimeType = filetype[0] mimeEncoding = filetype[1] if mimeType==None: mime

RE: [Webware-devel] AppServer.Config

2002-01-11 Thread Love, Jay
Actually, the checkInterval is in number of requests. So every 100 requests, it checks to see if it has been utilizing all of the threads or not utilizing very many. If you have a steady load, you want the check interval to be higher; for a less consistent load, the interval should be lower so t

RE: [Webware-devel] AppServer.Config

2002-01-11 Thread Russell Blank
I suppose the CheckInterval is in seconds. By increasing or decreasing the value how would you affect performance? -Original Message- From: Love, Jay [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 9:37 AM To: '[EMAIL PROTECTED]'; Webware-Devel (E-mail) Subject: RE: [Webware-de

RE: [Webware-devel] A few questions

2002-01-11 Thread Geoffrey Talvola
At 09:35 AM 1/11/02 -0800, Russell Blank wrote: >You are right. The December 19th executable fixed the 100% CPU Usage. The >wkcgi.exe is run and waits until the server is ready to respond without >using any cpu cycles. > >Did this executable also address the 'Use Automatic Path Sessions'? This

RE: [Webware-devel] AppServer.Config

2002-01-11 Thread Love, Jay
The number of threads that the server uses to process requests can now vary depending on the load the server is under. Previously, the number of threads was fixed at 10. The check interval defines how often the thread utilization is checked and 100 is a fairly low number. I think the rest of th

[Webware-devel] AppServer.Config

2002-01-11 Thread Russell Blank
There have been several new config parameters added. Can anyone explain these parameters? 'StartServerThreads': 10, 'MaxServerThreads': 20, 'MinServerThreads': 5, 'CheckInterval':100, Thanks. Russell A. Blank Senior Consultant Atlas Developmen

RE: [Webware-devel] A few questions

2002-01-11 Thread Russell Blank
You are right. The December 19th executable fixed the 100% CPU Usage. The wkcgi.exe is run and waits until the server is ready to respond without using any cpu cycles. Did this executable also address the 'Use Automatic Path Sessions'? This is the error when I try to just run the example pages

[Webware-devel] mime type of served documents

2002-01-11 Thread Federico Di Gregorio
hi, i didn't found a way to tell webware to set the correct mime type for served files (my problem is that css are server as text/html and not as text/css). i missed something or should i write the equivalent of mod_mime for webware? from were to start in that case? (and no, having a separate dir

RE: [Webware-devel] A few questions

2002-01-11 Thread Geoffrey Talvola
At 06:05 PM 1/10/02 -0800, Russell Blank wrote: >Jay, > >I have not been able to identify why wkcgi.exe hangs. Here are the steps to >reproduce the problem: > >Do not start the ThreadedAppServer. >Make a request to wkcgi.exe >Browser will hang >Check task manager and you will see the process for

RE: [Webware-devel] A few questions

2002-01-11 Thread Love, Jay
OK, I'll try to get this worked out over the weekend. Jay > -Original Message- > From: Russell Blank [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 10, 2002 9:05 PM > To: 'Jay Love' > Cc: Webware-Devel (E-mail) > Subject: RE: [Webware-devel] A few questions > > > Jay, > > I have