Re: take23.org 500 internal server error (probably OT)

2002-04-08 Thread Luciano Miguel Ferreira Rocha
On Mon, Apr 08, 2002 at 11:44:24AM -0700, David Nelson wrote: Since I'm posting, I'll share one more quick question. Does anyone know how to license software as GPL but have it only be able to be used by non-profit companies? Then you can't use GPL. GPL isn't against people making money of

Re: activating multimedia files in cgi-bin

2002-03-25 Thread Luciano Miguel Ferreira Rocha
On Tue, Mar 26, 2002 at 01:45:13AM +0100, Daniel Jonda wrote: Hi. I have a short question about perl and apache httpd server. Where can I activate that multimedia files like gifs and jpgs run under my cgi-bin dir ? GIFs, JPGs, etc, don't *run*. They're not executable code. They can be

Re: AW: activating multimedia files in cgi-bin

2002-03-25 Thread Luciano Miguel Ferreira Rocha
On Tue, Mar 26, 2002 at 02:12:52AM +0100, Daniel Jonda wrote: Thanks for your fast answer. I don't want to run them. I want to display them on my website Oh, ok. My problem is : I have an image gallery, which is configured to have the images folders under the cgi-bin. And it isn`t possible

Re: Ip Address On Outbound

2002-01-08 Thread Luciano Miguel Ferreira Rocha
On Wed, Jan 09, 2002 at 12:27:12AM -0500, John Buwa wrote: How would i changed outgoing requests to reflect the invoking users ip and not my systems ip? You can't just change the ip you use to connect to other systems... But you may have some luck in using the Via: and X-Forwarded-For:

Re: mixing cgi-bin mod_perl

2001-12-20 Thread Luciano Miguel Ferreira Rocha
I would just use: find . -type f -print0 | xargs -0 perl -spi -e 's/cgi-bin\/some_scr.pl/mod-perl\/some_scr.pl/g;' Regards, Luciano Rocha -- Luciano Rocha, [EMAIL PROTECTED] The trouble with computers is that they do what you tell them, not what you want. -- D. Cohen

Re: mixing cgi-bin mod_perl

2001-12-20 Thread Luciano Miguel Ferreira Rocha
On Thu, Dec 20, 2001 at 03:16:48PM -0800, Randal L. Schwartz wrote: Luciano find . -type f -print0 | xargs -0 perl -spi -e 's/cgi-bin\/some_scr.pl/mod-perl\/some_scr.pl/g;' Ewww. Why two processes? Because I would rather type only a single line to do what a 8 line program will do. What's

Re: mixing cgi-bin mod_perl

2001-12-20 Thread Luciano Miguel Ferreira Rocha
On Thu, Dec 20, 2001 at 09:29:26PM -0300, Hans Poo wrote: I think Randall is just trying to show a cool application of File::Find, and int the menatime save some CPU and memory cycles. Sorry, I didn't mean to be or sound harsh... My apologies to Randall and everybody on this list

Re: Comparison of different caching schemes

2001-12-15 Thread Luciano Miguel Ferreira Rocha
On Sun, Dec 16, 2001 at 09:58:09AM +1100, Jeremy Howard wrote: Can anyone suggest a way (under Linux 2.4, if it's OS dependent) to get a log of CPU (and also IO preferably) usage by process name over some period of time? What about BSD Process Accounting (supported in most *nix systems) and

Re: Creating an installable web site.

2001-12-06 Thread Luciano Miguel Ferreira Rocha
On Thu, Dec 06, 2001 at 11:01:09AM -0500, Chris Pizzo wrote: Im looking for a way to create an installable version of my wesite to distribute to customers that don't have web access. The site basically shows the inventory I have and uses a postgres database and mod perl to show the product

Re: Apache::Registry HEAD request also return document body

2001-11-23 Thread Luciano Miguel Ferreira Rocha
computing the headers, sure. But there are number of things that you might want to be in the headers (like date last modified, md5 checksum, content language, content length, etc) and they need the whole page to be computed anyway. You could argue that sending minimalistic headers to speed

Re: mod_perl, pipes, and No child processes

2001-11-06 Thread Luciano Miguel Ferreira Rocha
I was under the assumption that doing something similar to: my $returnval = $msg-send(); Would give a similar answer. I'll give the $? a shot though. I've noticed that from the shell, it always has a 0, and that would show up as false under perl... Well, on the shell and every

Re: IPC::Shareable

2001-10-16 Thread Luciano Miguel Ferreira Rocha
Make sure that you're not creating a too big shared memory segment and that you're (apache) running with an uid that is allowed to create shared memory segments. From the apache configuration file: # . On HPUX you may not be able to use shared memory as nobody, and the #suggested

Re: httpd looking for httpd.conf in wrong path

2001-10-08 Thread Luciano Miguel Ferreira Rocha
I don't know why the APACHE_PREFIX isn't being honored for the configuration files (it's been a long time since I last compiled mod_perl). But you can resolve the problem by creating a symbolic link of /usr/local/apache to /home/apache or by specifying the root directory with -d /home/apache or

Re: POST and GET and getting multiple unsynced requests

2001-10-08 Thread Luciano Miguel Ferreira Rocha
Hello I've just created a form like that just for testing and it worked fine, (form name=zbr method=POST action=/cgi-bin/printenv/zbr/?zbr=t) I got only one POST /cgi-bin/printenv/zbr/?zbr=t and the ENV was correct: REQUEST_METHOD=POST QUERY_STRING=zbr=t PATH_INFO=zbr CONTENT_LENGTH=42

Re: FW: Apache_1.3.19/mod_perl-1.24_01/perl5.6.1 on Solaris 2.6/Sun O S 5.6

2001-10-03 Thread Luciano Miguel Ferreira Rocha
$ perl Makefile.PL make make test sudo make install # if each step is successful, it succeeds automagically, # otherwise it fails. also more importantly, it wraps # 'make install' in a sudo call, so the work gets logged # and you only get to do that one command as root. if