administratrivia

2002-05-31 Thread Michiel Boland
Hi. I have moved the mathopd list and associate addresses from the diva.nl to the mathopd.org domain. The old diva.nl addresses will stop working on 1 Jul 2002. Cheers Michiel

Re: Redirect

2002-05-31 Thread Michiel Boland
> Not that I have a need for this feature in mathopd. But I find that a > redirect done as a http header is much faster and transparent compared to > the meta tag "equivalent". In general, using http headers for redirects, > cache settings, etc is more reliable or faster so I tend to never use m

1.4 gamma

2002-06-22 Thread Michiel Boland
Hi. I just put up the prerelease, or gamma version if you will, of mathopd 1.4. Get it at http://www.mathopd.org etc. This release does not yet comtain the complete documenation - sorry. People who were already running 1.4 are encouraged to upgrade. In previous 1.4 versions, mathopd would repeat

Re: mathopd - what else? :)

2002-07-07 Thread Michiel Boland
On Sun, 7 Jul 2002, Thomas E. Horner wrote: > > > dear folks! > > > i searched a lot. > the cause is simple and may seem unlogic to some people: > > i try to never use a product with a _very_ wide spread. > i try to never use a product that has an overloaded feature-set. > > that's why i would

Re: mathopd - what else? :)

2002-07-07 Thread Michiel Boland
> this mailing list is not the fastest, is it? Actually if it would have a bit more traffic it would be faster. :) And it would also help if everyone would set up their DNS correctly.

administratrivium

2002-07-12 Thread Michiel Boland
Hi. Since I am also [EMAIL PROTECTED] and I keep gettings tons of stupid bounce messages I will be removing everyone from this mailing list who has set up silly things like autoresponders etc. I don't have time to deal with things like this. Cheers Michiel

Re: continue transfer

2002-07-15 Thread Michiel Boland
On Mon, 15 Jul 2002, Adam Bartosik wrote: > Is it possible in mathopd to allow regetting (continue transfer)? Hi. Not at this moment, sorry. Cheers Michiel

Re: little confusion with \r\n

2002-08-13 Thread Michiel Boland
On Tue, 13 Aug 2002, Thomas E. Horner wrote: > > > hope to help you save 15 min. of work > > a customer of mine got probs with his secure.htpasswd > (his clear-text user-file) > he changed the password (!) and after that mathopd didn't > accept his password any more. > > i checked it and saw that

Re: [uClinux-dev] Problem execute CGI with boa on uClinux (fwd)

2002-08-29 Thread Michiel Boland
On Wed, 28 Aug 2002, Ilguiz Latypov wrote: > > I attempted to make the earlier version of mathopd run on uClinux. The > HTTP POST requests are yet to be fixed. I have no idea what uClinux is, or about any CGI problems with Mathopd (apart from issues that are already known.) If I look at the pat

Re: Resuming

2002-08-29 Thread Michiel Boland
On Wed, 28 Aug 2002, Bartosz Wucke wrote: > Hi. > > Does mathpod support resuming/continuing broken connections (or starting > download from a given point in the file) - I'm just about to give up > using Boa because it lacks this functionality and with my POOR network > connection, it's necessary

Re: Resuming

2002-08-30 Thread Michiel Boland
> wget? Ok. I'll try that. I have a bit of spare time now so hopefully I can get something to work in the not too distant future.

Re: pipe_loop: too many headers

2002-10-05 Thread Michiel Boland
On Fri, 4 Oct 2002 [EMAIL PROTECTED] wrote: > Hi, > > Does anyone have an idea why I get this error when trying to use > php 4.2.3 under OpenBSD with mathopd 1.4 / phpstub-0.5? > > Fri Oct 4 18:51:13 2002 [28715] pipe_loop: too many headers One way to check what is going on is to run a patche

Re: Document for mathopd-Site

2003-01-15 Thread Michiel Boland
Hi. > are you interested in posting a short Quick-Start-Guide for mathopd with > php4 on your website? I could write down my experiences... If you have any then please do. It has been a while since I did anything with PHP (or with Mathopd altogether, sorry folks :) Cheers Michiel

Re: question

2003-03-30 Thread Michiel Boland
> hi > > are there any plans to continiue mathopd development? Hi. Development has ceased for the time being, I am sorry to say. At least, as far as I am concerned. If people have any bright ideas, including patches to back them up, I would be happy to incorporate them. Sorry again if things seem

Re: 'Content-type..' in browser...

2003-04-03 Thread Michiel Boland
> Hi, > I've installed mathopd and few additional things > ( cvsweb, doxysearch) behind it. > > However, every cgi script generated page is > putting 'Content-Type: text/html' as the > first line in browser. Hi. I'm not familiar with cvsweb or doxysearch, but I assume these are ok. So the

Re: logrotate and more...

2003-04-04 Thread Michiel Boland
> killall mathopd > sleep 5 > /usr/local/sbin/mathopd < /etc/mathopd.conf > endscript > } > > > > which kills mathopd. What one could do is kill mathopd with SIGUSR2, which should cause a silent and graceful death, but which leaves a window of time (5 seconds) during which no server runs. > see t

Re: chroot error

2003-07-30 Thread Michiel Boland
> I am having a problem using the RootDirectory chroot > with mathopd. > > When I try to run mathopd with this option set I get: > mathopd: Invalid user name. > > I've looked in the mail archives but no luck. The docs > deal with php and so on, but not chroot! Unless the > mail archives simply don'

New release: 1.4p1

2003-08-28 Thread Michiel Boland
Hi. Mathopd 1.4p1 has been released. This releases officially makes 1.4 the `stable' version, although 1.3 is still available if anyone wants it. There are not many changes with respect to the `gamma' release. A problem with `dos line breaks' in user files etc. is fixed. Some documentation has b

Re: HTTP_VIA & HTTP_X_FORWARDED_FOR

2003-09-09 Thread Michiel Boland
> Unlike some others web-servers, mathopd does not provide these fields > to CGI environment, so I've made a simple (or maybe 'the simplest') > patch, which fixes it. > > In case somebody needs to access that fields too, here is my patch for > mathopd 1.4p1 : > >http://lamer.albedo.com.ua/http_

New beta: 1.5b1

2003-09-10 Thread Michiel Boland
Yes it is true: Mathopd is still alive. :) The new beta is at www.mathopd.org. This beta is the first in a series that will hopefully get CGI up to scratch. The first beta converts all HTTP headers into HTTP_ environment variables, rather than a selected few. This should solve the HTTP_VIA problem

Re: Running out of file descriptors

2003-09-23 Thread Michiel Boland
> I'm writing in hopes of getting some clarification about these two > configuration options: > > AcceptMulti ON > NumConnections 1024 > > I currently have the server configured as above since RAM is plentiful. If > AcceptMulti were changed to OFF would the server still be able to handle a > large

New beta (Re: A wish for a Mathopd feature)

2003-10-02 Thread Michiel Boland
On Tue, 23 Sep 2003, Steve Gibson wrote: > > A feature sometimes offered by HTTP servers is "post dating" the expiration > of content with the "Expires" header. The benefit of this for highly > static content, such as Mathopd is so proficient in delivering, is that > users' web browsers will then

New beta 1.5b3 with byte-range support (fwd)

2003-10-07 Thread Michiel Boland
Hi. A new beta has been released at www.mathopd.org. Get it while it's hot. The new beta now supports - drumroll - the `Range' header, which means that browsers should now be able to resume a previously interrupted download, whereas previously they would have to start from scratch. I have only t

New beta: 1.5b5

2003-10-14 Thread Michiel Boland
Hi. Majordomo appears to have eaten my announcement for 1.5b4 so we have jumped straight to b5. As of this version, the phpstub program has been integrated into mathopd, so it is now possible to run CGI without any hacks (well, hopefully.) Cheers Michiel

Re: Error at compilation on Solaris 2.6

2003-10-22 Thread Michiel Boland
> Hello > > I'll compile mathopd 1.4 on Solaris 2.6 (Sun ultrasprac) > with gcc 2.95.2 but such error has been presented Uncomment the line with NEED_SOCKLEN_T in the makefile. Cheers Michiel

new release: 1.5b12

2003-11-28 Thread Michiel Boland
Hi. Mathopd-1.5b12 has been released. The compilation problems with POLLERR have been fixed. Other changes: a new LogFormat parameter 'MicroTime' has been added. This logs the time with microsecond precision. Also if you now send mathopd with a SIGWINCH it will generate a dump in /tmp. This is prob

new release: 1.5b13 and more

2003-12-01 Thread Michiel Boland
Hi. I just released another version into the wild. This one (1.5b13) now supports CGI scripts for Error404File, etc. Also, the value of AutoIndexCommand no longer needs to be a CGI script; it can also be an external thingy (or even a 'normal' page.) This should satisfy people who requested that thi

Security Alert; possible buffer overflow in all Mathopd versions

2003-12-04 Thread Michiel Boland
Hi. During some testing, I came across a rather stupid and embarassing buffer overflow in request.c in all Mathopd versions up to and including 1.5b13. The problem is in the prepare_reply() function that allocates space for a buffer on the stack that may be too small for whatever goes into it. Thi

new release: 1.5b15

2003-12-08 Thread Michiel Boland
Mathopd 1.5b15 has been released. Changes with respect to the last beta: - some parts of the documentation have been updated; - tiny efficiency hack in the spawn function; - rewritten the routines that output things to the client; - fix some conformance problems with RFC2616. b15 fails to build

Re: shell script for checking and starting?

2003-12-15 Thread Michiel Boland
> I need to redirect all logs to stdout, but this doesn't work on Linux. > /dev/stdout on Linux is a symlink into /proc and the device ownership > is determined by the UID of the invoking user. User ``www'' cannot write > to stdout owned by root... Any ideas? Are you saying that, on Linux, the per

Re: Warning: ScriptBufSize increased to InputBufSize

2003-12-15 Thread Michiel Boland
> I get the following error with mathop-1.5b16: Warning: ScriptBufSize > increased to InputBufSize Mathopd transfers the contents of the 'input buffer' into the 'script buffer' at the start of each CGI request. This obviously would not work if the script buffer is too small. Therefore Mathopd alwa

mathopd-1.5b17 released

2003-12-15 Thread Michiel Boland
Hi. I have just upgraded the last official beta to 1.5b17. The previous beta (b16, unannounced) had a rather stupid bug related to CGI scripts so if anyone has had problems with that, please try this one. This beta has sendfile() support (see the Makefile for details.) At the moment sendfile can

Re: shell script for checking and starting?

2003-12-16 Thread Michiel Boland
> They certainly cannot be writable by all; /dev/stdout will be a link to > /(proc or dev)/fd/1, which in turn will be a symlink to a terminal if it > is looked at while run from a terminal. You certainly don't want everyone > to have +rw on your terminal. This is getting a bit off-topic, but the

Re: Features

2003-12-16 Thread Michiel Boland
> Does Mathopd support something like a .access file in the same directory > to check for permissions? Not at the moment. Cheers Michiel

Re:

2003-12-16 Thread Michiel Boland
> Maybe this has something to do with the error. I have php5 and the path to > the php file seems to be correct. PHP installed also some other files like > phpize, phpextdist. I removed them. I don't know if they cause the > problem. Right. I had not tested mathopd with php5. PHP is known to break

new release: 1.5b18

2003-12-17 Thread Michiel Boland
Hi. Yet another release; the fun never stops here. The files "/dev/stdout" and "/dev/stderr" can now be used as Log or ErrorLog without any problems (well, one hopes.) Some problems with CGI scripts on linux were fixed. Cheers Michiel

The last beta

2003-12-23 Thread Michiel Boland
Hi. I just released 1.5b19. This is definitely the last beta in the 1.5 cycle. This release fixes some bugs that caused error messages to be suppressed when they should not have been; thanks to Juergen Daubert for pointing this out. I managed to squeeze in an extra feature just at the last momen

Re: found error at last

2003-12-28 Thread Michiel Boland
> Sat Dec 27 22:15:52 2003 [20889] accept: Software caused connection abort > Sat Dec 27 22:15:53 2003 [20889] accept: Software caused connection abort > ... same ... untill my scripts restart mathopd. Try the attached patch. Note: this is totally untested: I am away from m

Re: Symlinks

2004-01-06 Thread Michiel Boland
> Hi. How come latest mathopd versions (from 1.4 I think) don't support > the Symlinks directive? It is impossible to implement this securely. Symlink checking works as follows (grossly simplified) 1 lstat() a file if it is a symbolic link, refuse the request, otherwise 2 open it The pr

Mathopd 1.5 released

2004-01-14 Thread Michiel Boland
Hi. I have not received any further bug reports for 1.5 betas so I hereby officially declare mathopd-1.5 ready for release. I have uploaded two new versions to the website: mathopd-1.5 and mathopd-1.4p3. The only change with respect to previous versions is a fix for unresponsive servers (this is

Re: php and mathopd, still problems

2004-02-09 Thread Michiel Boland
This is a PHP problem, not a mathopd problem. I don't know enough about php to do anything about it. The "Status: 0" header does not make sense at all though. Sorry I can't be more helpful. Cheers Michiel

mathopd-1.5p1 released

2004-02-13 Thread Michiel Boland
Hi. There is a brown-paper-bag bug in mathopd-1.5. So I have zapped that release and put up mathopd-1.5p1 instead. If you run 1.5 please upgrade ASAP. If you cannot upgrade you should at least define a global Error404File (and an Error403File or Error401File if you use Access or Realm.) Thanks to

1.5p2 released

2004-02-23 Thread Michiel Boland
Hi. I just put out 1.5p2. This is a tiny update with respect to p1. If you already run p1 without problems there is no reason to upgrade. The p2 version will print a warning if NumConnections is set too high. This should be useful for troubleshooting if you run into 'too many open files' errors.

Re: mathopd curious

2004-03-05 Thread Michiel Boland
> * How should one pronounce "mathopd"? I guess it is something like math - op - dee. > * Where did this name come from? Mathop is/was my nick on IRC (\mathop is a TeX primitive.) Originally (late 1995) the software was called mhttpd but that was far too boring of course. > * Is there a p

new beta (Re: feature request: wildcard expansion)

2004-03-17 Thread Michiel Boland
> I think it will be reasonable to apply wildcard expansion to > Error40*file and AutoIndexCommand. The 1.5 release is frozen but I have created a new beta (1.6b1) that has this feature. Apart from this it is completely identical to 1.5. Cheers Michiel

Re: new beta (Re: feature request: wildcard expansion)

2004-03-18 Thread Michiel Boland
> Thank you very much! I did a few tests with the new beta. It does the > job, but I've found that mathopd replies with "500 Internal Server Error" > when Eror404file does not exist in the virtual server directory. > I think it should return 404 in this case as if there is no Error404file > directi

Re: new beta (Re: feature request: wildcard expansion)

2004-03-18 Thread Michiel Boland
Raah, I forgot the actual patch in the companion message. Here it is. Cheers Michiel --- request.c.orig Tue Mar 16 21:41:04 2004 +++ request.c Thu Mar 18 17:49:14 2004 @@ -722,7 +722,7 @@ switch (c) { case '*': if (host) { -

new beta

2004-03-25 Thread Michiel Boland
I have just released 1.6b2. This release fixes the 500 errors that occur if an ErrorXXXFile cannot be found. Next I will try to make some more exciting changes. Cheers Michiel

Tiny bugfix for 1.4 and 1.5

2004-03-31 Thread Michiel Boland
Hi. The following did not work as expected in mathopd 1.4 and 1.5 Control { Alias /users Location public_html UserDirectory On } This is now fixed in the latest versions, 1.5p3 and 1.4p4. If you do not need UserDirectory there is no reason to upgrade. Thanks to lou (sorry, didn't c

New beta with IP6 support and socket options

2004-03-31 Thread Michiel Boland
Hi. As promised, the new beta, 1.6b3, has more interesting features. The most dramatic change is the removal of all code that assumes IP version 4. All name-to-address and vice versa translation is now done with getnameinfo() and getaddrinfo(). These functions are pretty much standardized so they

Re: How do I use "ExtraHeaders" keyword

2004-04-06 Thread Michiel Boland
On Tue, 6 Apr 2004, Maurus, Pavel wrote: > Hello, > > I have some questions on the subject below: > > >> If an option could be added to specify the number of minutes or hours > >> in the future for content expiration, perhaps with wildcards so that > >> certain directories or certain content types

KeepAlive (RE: How do I use "ExtraHeaders" keyword)

2004-04-09 Thread Michiel Boland
> 3) And what about KeepAlive - can one swith it on/off in mathopd web server? Sorry, I did not spot this when I last read this. I assume this is about persistent connections? Currently there is no switch to turn these off, if they are requested by the client. Is there any need for such a switch?

patch to generate expires headers

2004-04-11 Thread Michiel Boland
Hi. I'm not currently able to roll any new releases, but here is a quick patch that allows on to send Expires: headers. Usage is as follows. Suppose you want to send an expires: header that points to one day in the future. You do this by Control { ExpireInterval 86400 } Note that expirein

Re: new installation

2004-05-07 Thread Michiel Boland
> The problem is like this: I have two virtual domains on the same server. > The first domain starts with the "index.html" file. This works fine. All > I have to type in my browser is "www.host1.test" and the page with lots > of php in it, comes up perfectly. The second virtual host starts with > t

Re: executing php

2004-06-25 Thread Michiel Boland
> Can I start mathopd from xinetd? No. Running from inetd is not very efficient, because you would have to re-read the configuration file for every request. Cheers Michiel

Re: executing php

2004-06-25 Thread Michiel Boland
> and last question :) > can I run mathopd over ssl? Not directly, no. You can put stunnel in front of it. See http://www.stunnel.org for more info about stunnel. Cheers Michiel

Re: How to run a cgi-script?

2004-07-02 Thread Michiel Boland
> Why doesn't RunScriptsAsOwner works? What do I do with setuid scripts? RunScriptsAsOwner should work, as long as the user IDs of the script's owner and the server process are different. Setuid scripts are an apache-hack I believe. As far as I know mathopd ignores the setuid bit, unless perhaps t

RE: MathOpd and http 1.0 gets

2004-07-18 Thread Michiel Boland
> The most recent MathOpd doesn't seem to support HTTP 0.9 Simple-Request > messaqes. Is it optional now, or completely ripped out? It's been ripped out. HTTP/0.9 was obsolete even at the time I started development on Mathopd (1995).

Re: Possibly wrong response of mathopd

2004-09-21 Thread Michiel Boland
On Sat, Sep 18, 2004 at 02:39:39PM +0200, Juergen Daubert wrote: > Hi, > > not sure, but shouldn't respond mathopd to the following query > with a "HTTP/1.1 200 OK" ? > > $:~> echo -e "HEAD / HTTP/1.0\r\n\r\n" | socat - TCP:localhost:80 > HTTP/1.1 400 Bad Request > Server: Mathopd/1.5p3 > Date:

Re: new beta

2004-10-30 Thread Michiel Boland
Hi. Sorry about the delay. On Mon, Oct 25, 2004 at 07:38:23PM +0800, Xuefer wrote: > yes! i can't use ExtraHeaders! why? > with status "Not Modified" mathopd is NOT sending ExtraHeaders > this make IE send request again and again, get NO cache-control header :( > the status bar showing "downloadin

mathopd-1.5p4 released

2004-11-27 Thread Michiel Boland
Hi. I just put mathopd-1.5p4 on www.mathopd.org. There is a slight error in the current mathopd-1.5 release: if you have something like Control { Alias / Location /var/www } Control { Alias /~ Location public_html UserDirectory On } then a request for a nonexting user's page,

Re: Problems getting 404s

2004-11-30 Thread Michiel Boland
Hi. Sorry about the delay. It looks like your problem is caused by this line IndexNames { index.php } My guess is that there is a file index.php in /home/dave/wordpress. Now, if you retrieve http://weller-fahy.com/nonexisting, then that index.php will be executed with PATH_INFO set to /nonexist

Re: mathopd 1.6.x vs 1.5.x

2004-12-13 Thread Michiel Boland
On Sun, Dec 12, 2004 at 02:08:52AM +0800, Albert wrote: > I was just wondering, if there is a list of "features" or "items of > pursuit" for the 1.6.x version of mathopd vs. the 1.5.x. The wish-list at the moment is - FastCGI - SSL - kqueue/epoll/etc support - .htaccess-like thingies None of the

Mailing list will shut down

2004-12-23 Thread Michiel Boland
Hi. The machine that hosts the mathopd web site and this mailing lists will be taken down at the end of the year. I am trying to migrate the site somewhere else, but I don't think I will be able to set up a new mailing list, at least not for a while. So I think what will happen is this: this li

Mailing list is back up :)

2005-01-18 Thread Michiel Boland
Hi. I am pleased to inform you that the mathopd mailing list is back up. Many, many thanks to Anton Berezin for helping me out. Cheers Michiel

Re: Question about dir_cgi.c and PATH_INFO

2005-01-20 Thread Michiel Boland
On Tue, 18 Jan 2005, David J. Weller-Fahy wrote: I'm using the dir_cgi.c file to generate a directory listing for various areas of my website. However, where it should list the path information (from the environment variable PATH_INFO), I'm getting nothing. Eek. The dir_cgi.c on the mathopd site i

Re: Question about dir_cgi.c and PATH_INFO]

2005-01-24 Thread Michiel Boland
Eek. The dir_cgi.c on the mathopd site is rather old. It should use SCRIPT_NAME, rather than PATH_INFO. I have replaced it. The new version should work ok. Thanks, it works wonderfully now! Question, though: Why should it use SCRIPT_NAME instead of PATH_INFO? Or, I guess, what was the purpose of

new beta: 1.6b5

2005-01-30 Thread Michiel Boland
Hi. I managed to get a bit of coding done finally, so here is 1.6b5. This version has several experimental features. The buffer size is dynamically adjusted to be a multiple of the TCP segment size. This should increase performance with small buffer sizes. (Well, hopefully.) Another enhancement

Re: Keep Alive off ?

2005-02-26 Thread Michiel Boland
[...] it's important to close requests asap. I've looked through the documentation but i'm not sure i have seen a reference to such a feature, does it exist ? Is this done using Timeout, or Wait ? There is no knob in mathopd to turn off keepalives. The server will kill connections that are idle

Re: Partial output from cgi script

2005-02-26 Thread Michiel Boland
On Sat, 26 Feb 2005, Alex'a X Spirit wrote: Suppose I have a script: #!/bin/sh printf "Content-type: text/plain\n\n" echo "`man -k more`" If I run it from command line it puts on my machine: [...] But, if such script executes in browser I have (without any errors in all logs

Re: Partial output from cgi script

2005-02-26 Thread Michiel Boland
On Fri, 25 Feb 2005, Martin Johnson wrote: [...] But, as a better solution, I guess it must also be possible somehow to send arbitrarily-long CGI script output through Mathopd, in the style of NCSA httpd's "non-parsed-header" CGI interface. For NCSA http you just had to name your CGI script "nph-xx

Re: Keep Alive off ?

2005-02-26 Thread Michiel Boland
Is there a way I can tell how many connections are open/alive at a given time in mathopd ? Like a signal or something ? Send a SIGWINCH signal to the mathopd process. It will append to a dump file in /tmp. A bit crude but it works. You can also get the same statistics in your browsers via the 'D

New releases

2005-03-23 Thread Michiel Boland
Hi. I just released mathopd 1.5p5 and 1.6b6. The new version fixes a problem in internal_dump() that could be exploited to append to arbitrary files writable by the server's UID. Thanks to Carsten Eiram for pointing this out. Internal dumps will now create files in /tmp with unpredictable filena

AIO revisited

2005-04-18 Thread Michiel Boland
Hi. It has come to my attention that mathopd 1.5 with the AIO patch on the website does not work quite well. I have fiddled a bit with aio over the weekend and have now prepared a new patch, this time for 1.6. Cheers Michiel

Re: AIO revisited

2005-04-18 Thread Michiel Boland
Sorry, I probably should have mentioned that the patch is available on the website. (at http://www.mathopd.org/dist/aio-patch-1.6.txt ) Michiel

wiki for Mathopd

2005-04-19 Thread Michiel Boland
Hi. I have set up an experimental wiki for Mathopd at http://www.mathopd.org/wiki Many thanks to Jürgen Daubert for taking the time to convert the website to wiki and making other contributions. Cheers Michiel

Re: NumConnections is too high

2005-05-02 Thread Michiel Boland
NumConnections=512 nfiles=1024 warning: NumConnections is too high Why do I get this message ? Can i expect problems from this ? Hi. The nfiles number (1024) indicates how many file descriptors your mathopd process can use. Mathopd uses two descriptors per connection, plus a few extras for serve

Re: Mathopd vs. Apache

2005-05-03 Thread Michiel Boland
So I'm wondering if SSL is slated in the works, or just on the todo list. If on the todo list, how far down??? If no-one else contributes any code it will stay on the todo list for the forseeable future. I would love to get this done, but I just do not have the time or the energy to sit down and

Re: IndexNames problem (1.5p5)

2005-08-20 Thread Michiel Boland
Hi. This is a PHP problem, not something to do with IndexNames. But if I fetch the http://.co.uk/ with a web browser, I get the message: No input file specified. It appears you are using the CLI version of PHP instead of the CGI version. Try looking for php-cgi somewhere under /u

Re: Java servlet/jsp with mathopd ?

2005-09-14 Thread Michiel Boland
I just ran into mathopd via a benchmark page where mathopd and zeus were the top 2 performing web servers. Nice to hear :-) url of that page ? My guess is that the original poster was referring to Jef Poskanzer's Web Server Comparisons page (google for thttpd :). But that is a bit outdated.

Re: ScriptUser issue

2005-11-21 Thread Michiel Boland
Hi. [snippage] Mon Nov 21 21:09:26 2005 [94371] get_path_info: curdir = "/usr/home/www/default-site" Mon Nov 21 21:09:26 2005 [94371] get_mime: type=/usr/local/bin/php, class=3 Mon Nov 21 21:09:26 2005 [94371] close_rfd: 5 Mon Nov 21 21:09:26 2005 [94371] child process 94372 created Mon Nov 21

Re: "If-None-Match:" header

2006-02-23 Thread Michiel Boland
For CGI programs that want to use "ETag" values (e.g. MD5 hashes) to avoid re-sending dynamically-generated content that hasn't changed since the last time the client requested it, it's useful to have access to the HTTP header "If-None-Match". This HTTP header isn't passed in the environment from

Re: Patch: allow /./ and /../ in URL paths

2006-11-04 Thread Michiel Boland
Hi. I fiddled a bit with your patch, and it is now more or less in the new beta. (1.6b7), although the implemtation is a bit different. I took the liberty of slightly changing the semantics because I want to be able to back-port this to 1.5 without breaking existing configurations. To this

Re: Logging and analysing

2006-11-16 Thread Michiel Boland
Hello, I wonder how do you get "BytesWritten" from the cgi script? I always get zero bytes in mathopd log. Does this feature exist in newer versions of mathopd? I need it so much. Mathopd 1.5 computes BytesWritten more or less correctly, also for CGI scripts. Versions 1.4 and earlier always pu

Re: Licensing of the utilities?

2006-11-26 Thread Michiel Boland
I would think that the mattoclf utility is sort-of in the public domain. So you can use that utility any way you see fit. I would add a notice to that file but it seems a bit wasteful to have a file where the license takes up more space then the code. :) Cheers Michiel

Re: Error.log message

2007-01-24 Thread Michiel Boland
Hi. Sorry about the delay. On Tue, 23 Jan 2007, Germain Leutwyler wrote: Please I have one question regarding mathopd error logging: I get regularly in the error.log file the two following lines: Mon Jan 22 11:10:51 2007 [12970] child process 28869 exited with status 6 Status 6 means that th

RE: Error.log message

2007-01-27 Thread Michiel Boland
I've checked all my PERL scripts for a wrong or missing #!/usr/bin/perl: all are OK ! My guess is that you have something like this in your config file Control { Specials { CGI { pl } } } for this to work every perl script needs to be executable. That's a bit of a nuisance.

mathopd 1.5p6 released

2007-07-21 Thread Michiel Boland
Hi. I have released a new stable version of mathopd. This contains some bugfixes, plus one feature that has been merged from 1.6. 1) On FreeBSD there was a rather embarrassing bug when sendfile was used, which manifests itself in bogus 'premature end of file' messages in the error log. This

distfile for 1.5p6 re-rolled

2007-08-05 Thread Michiel Boland
Hi. It was brought to my attention that the distfile for mathopd-1.5p6 contained CVS directories, which does not make any sense. So I have decided to re-generate mathopd-1.5p6.tar.gz without the CVS directories. Sorry about this. Next time I will be more careful. Remind me to not do anything just

Re: Javascript compatibility

2007-09-10 Thread Michiel Boland
On Mon, 10 Sep 2007, [EMAIL PROTECTED] wrote: Hello there, I've tried, without success, to run under mathopd a Javascript included in a Web page which require the presence of a ".js" file for its execution. At runtime, only the HTML tags are executed but nothing happens with the script its

Re: negative number of connections

2008-03-19 Thread Michiel Boland
On Thu, 20 Mar 2008, Dmitry wrote: Hello! Sometimes my server statistics looks like this: Uptime: 1243972 seconds Active connections: -61 out of 500 Max simultaneous connections since last dump: -36 Forked child processes: 3034661 Exited child processes: 3034661 I'am worrying about minus sign

Re: Forwarding Proxy

2008-03-20 Thread Michiel Boland
The only thing i am missing in mathopd is a forwarding proxy function. I need one directory been forwarded to another webserver and the answer routed back. e.g. thisdomain.com/fwd should be forwarded to internal-ip/fwd/app. What is the best solution/add on to realize this behavior with mathopd?

Re: Upload file support in mathopd

2009-02-25 Thread Michiel Boland
Rabindra Paikaray wrote: Hi All, I want to know is mathopd supports file upload to server or not? Recently I was trying to upload the file , but it was failing . I don't know is it require to configure properly or it does not support at all. Mathopd by itself does not support file uploading, b

Re: How to enable core dumps

2009-05-14 Thread Michiel Boland
Dmitry wrote: Hello, I need to debug mathopd process because it segfaults every 2 day. The pattern is always the same. Something like "mathopd[24068]: segfault at a17b000 ip 005be8ac sp bfd6098c error 4 in libc-2.7.so[54d000+153000]" I am sure it is not the problem of mathopd itself, but cus

Re: How to enable core dumps

2009-05-14 Thread Michiel Boland
Dmitry wrote: Michiel Boland wrote: Hi. Core dumps are only enabled if you specify a directory in the config file to dump core in. You can do this using the CoreDirectory directive. Make sure the user you specify in the config file can create files in this directory. Michiel, I forgot to

security alert: directory traversal when using * in Location

2012-02-02 Thread Michiel Boland
Hi. I just released a security update for mathopd. (mathopd 1.5p7) The problem: If you use the * construct in your config, as in Control { Alias / Location /var/www/* } then the * will be substituted with the value of the Host header that was supplied by the client. However this oc

mathopd 1.5p8 released

2012-02-03 Thread Michiel Boland
Hi. The 1.5p7 release contains yet another embarassing bug that causes a crash when a HTTP/1.0 request without a Host header is made. There is a new stable and a new beta. If you are running 1.5p7 by any chance please upgrade immediately. Sorry about this. I should have known better than to s

mailing list moving to mailman

2012-11-05 Thread Michiel Boland
Hi. Just a short note to indicate that this list is still alive. :) I will be migrating this list from majordomo to mailman somewhere during this month. There will be another message when the migration is complete. Cheers Michiel

Re: mailing list moving to mailman

2012-11-12 Thread Michiel Boland
Hi. If you see this message then that means the migration of the mathopd mailing list to mailman has been completed. Welcome to the 21st century. :) Cheers Michiel

Re: mailing list moving to mailman

2012-11-12 Thread Michiel Boland
On 11/12/2012 20:25, David J. Weller-Fahy wrote: * Michiel Boland [2012-11-12 12:12 -0500]: Hi. If you see this message then that means the migration of the mathopd mailing list to mailman has been completed. Welcome to the 21st century. :) Oooo... it's so shiny! ;) Thanks. :) I se

  1   2   >