fREW Schmidt wrote:
How many times to people have to tell you to look at the
headers of the e-mail for the list management addresses?
--mark--
When using gmail it's not exactly obvious. I agree with someone who
posted a few days ago. It wouldn't hurt to put it in a footer.
By default, my
Hello,
fREW Schmidt wrote:
I am trying to use Apache2::Reload for development, and I apparently
configured my server incorrectly because I get these errors when I include
the PerlMode Apache2::Reload and PerlInitHandler Apache2::Reload directives
I get these errors:
[Thu Jan 15 17:34:21 2009]
Hi Torsten and Heiko,
Heiko Jansen wrote:
Am Freitag, den 09.01.2009, 10:25 +0100 schrieb Torsten Foertsch:
On Fri 09 Jan 2009, Raymond Wan wrote:
It is possible I'm doing something wrong, but so far, this isn't
working. And if I replace the $cmd with a Perl script and try to
print out
Hi all,
I'm developing a web server which forks a process and then the child process goes off and does some
processing and I do not want to wait for it to return. The child process runs a C++ program (i.e.,
not a Perl script). Thanks to replies here a while back, I got things working by
Hi Michael,
Michael Peters wrote:
Raymond Wan wrote:
I had looked at the effect compression has on web pages a while ago.
Though not relevant to modperl, there is obviously a cost to
compression and since most HTML pages are small, sometimes it is hard
to justify.
Not to discredit
Hi
Neil Gunton wrote:
Well, that seemed to do the trick! So the caveat seems to be: Be
careful using both mod_deflate and mod_cache (mod_disk_cache
specifically) together if you have a large dynamic website that can
generate a large number of distinct pages. Mod_deflate produces a
This is
Hi Ronald,
Ronald J Kimball wrote:
Those are the HTTP response headers. They are showing in the browser
because your script is returning a malformed response, i.e. printing null
device 1 before the headers. The browser is unable to parse the headers
and treats them as part of the body.
Hi John,
Unfortunately, I'm still muddy with modperl to help you even though I'm
on Debian Etch. I have it working and can tell you what I have
installed...but I can't help you with modperl specifics as I'll probably
end up teaching the wrong thing.
To answer Adam's question:
Adam
Hi John,
John M. Dlugosz wrote:
OK, when I defined $r as you did, it worked. For documentation, I was
looking at here:
http://search.cpan.org/~joesuf/libapreq2-2.08/glue/perl/lib/Apache2/Request.pm
I see you are just printing to standard output, like a CGI script. In
the book, it used
Hi all,
I'm receiving a strange message which I think is caused by something I'm
doing with modperl and/or Mason, but I'm not sure what to look for.
Basically, I have a page which refreshes every 3 seconds waiting for
some spawned child process to complete. When it completes, it stops
Hi John,
I see...I didn't know it was possible to print anything before
headers... I am not printing that statement, as far as I know, but
maybe a library I am using is. I will look into it...
So, the part after HTTP/1.1 ..., why is that shown? Is that a web
server setting? What is odd
Hi all,
I'm having a problem with spawning a long-running process and timing it
(i.e., with /usr/bin/time, for example). A while back, I posted a
problem with spawning a process which I did not want to know if/when it
comes back. Based on many helpful replies, I am now using:
-
Hi all,
I'm trying to fork a long-running process which I do not want to wait
for. I was getting a lot of ssh defunct processes, so I did some
googling and found this from the aforementioned O'reilly book:
http://www.perl.com/lpt/a/701
And sure enough, there's a section on Avoiding
Hi all,
Raymond Wan wrote:
-
my $r = shift;
$r-send_http_header('text/plain');
-
Sorry for the trouble but while googling for the problem, I came by the
reason: send the output of system() to the client:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg36062.html
I also
Hi,
J. Peng wrote:
On Fri, Feb 29, 2008 at 7:03 PM, Torsten Foertsch
[EMAIL PROTECTED] wrote:
Example continued: The entry /var/www/a/b exists on disk either as file or as
directory but /var/www/a/b/c does not. Then after MapToStorage $r-filename
is /var/www/a/b and $r-path_info is
J. Peng wrote:
Do you mean mod_rewrite for the trick?
yes with mod_rewrite people can rewrite:
http://example.com/archive/news/2008/02/29/index.html
to something like:
http://example.com/archive/news?object=/2008/02/29/index.html
so here /archive/news is filename and /2008/02/29/index.html is
Hi Frank,
Frank Maas wrote:
I am using a mechanism where I use the path_info to carry information
about the content to be served. However, as far as I know the only way to
do this is to create a handler that is defined for the correct location.
In the described situation, something like,
Colin Wetherbee wrote:
Ronald Dai. wrote:
Actually RTFM would not be a problem for people from academic
background (meaning MS or PHD educated) at all since they have to do
it all the timebut for people with more team work background
these days, it might not be politically very correct...
Joy,
J. Peng wrote:
I'm still confused why we need a path_info for the additional info to
CGI/modperl scripts?
Generally under CGI we say x.cgi?key=value to pass arguments, under
modperl handler we say /myHandler/?key=value to do it, or using POST
method.
Under what case we use path_info?
Hi,
One of the first things I would look is their job postings...if they are
switching, that would be one sign. Indeed, I saw a few software
development jobs on amazon asking for Java and C/C++ experience. Only
found one asking for any two of Java, C/C++, and Perl. Of course, this
is
Hi Malcolm,
Malcolm wrote:
Mason uses it's own namespace for the code it generates from your templates.
So unless you have a use lib...; use myOwnFunctions; in your template, it
won't have your functions in scope.
I see. So if myOwnFunctions is used by many of my components, there is
Hi all,
I have written a handler to take care of requests and there is something
unexpected [to me, anyway :-) ] happening which may be my fault, but I
was wondering if someone can explain it to me. Perhaps there is a
problem with my programming style.
The code is long, so I'll briefly
Hi Marcel,
Marcel Greter wrote:
I can only tell why myHandler::myFunction () is working.
I think you export the myFunction in Module myOwnFunctions.
I assume you didn't post that part of the code?
Ah, yes -- I didn't think that was doing it but yes, I also have:
require Exporter;
our @ISA
Hi Vijayram,
Vijayram Arya wrote:
I would like to be unsubscribed from this mailing list, I kindly request the
moderator to unsubscribe me..
Take a look at this web site and do what it says to unsubscribe yourself:
Hi all,
Sorry, but I'm not entirely sure if this is relevant to modperl...
I was wondering if it was possible to delete cookies. I read that using
Javascript, cookies can be deleted by setting it to a time in the past.
I'm not sure how to do it in Mason, though. I think I know how to get
Hi John,
John ORourke wrote:
Cookie names are unique to a given domain (the domain which can
optionally be explicitly set using $cookie-domain ) - if you write
another cookie with the same name and domain and path it'll overwrite
the previous one.
Ah, thanks for this! I guess I had a bug
Hi bop,
Thanks for the e-mail. I ended up doing a mix of both your suggestion
and John's and it seems to work ok. Both of your suggestions were
great; thank you!
Ray
Boysenberry Payne wrote:
Oops, I forgot the some code:
# to set
$cookie = { -name = foo, -value = bar, -path = / };
my
Michael Peters wrote:
Any links or discussion would be great.
You really need to benchmark it for yourself using the version you are
targetting and the OS. You can do it outside of apache and just have a simple
Perl script that does nothing but sleep after it's created the large data
Hi Octavian,
Octavian Rasnita wrote:
Please tell me, have you succeeded to install mod_perl under a X86_64
machine? If yes, please advice what should I do.
Yes, I have, and haven't noticed any problems. I installed Debian
stable (AMD64 version): http://www.debian.org/ports/amd64/ . The
Xin,
I have run Apache with Debian and I do recommend (if it's not too late)
to uninstall Apache 1.3 and modperl 1 before installing Apache 2.x and
modperl 2. They seem to install in different directories, but if you're
not too attached to the old version, it'll save you headaches later
Hi,
Foo JH wrote:
What's the actual error from the error_log?
Below shows apache shutting and and restarting...and failed.
[Thu Jun 14 17:30:19 2007] [notice] Parent: Received restart signal --
Restarting the server.
[Thu Jun 14 17:30:19 2007] [notice] Child 5780: Exit event signaled.
Hi Joe,
Joe Schaefer wrote:
Anything here looks suspicious?
Yes. Your code behaves as if CGI.pm was being used by Mason instead
of apreq. When that happens, CGI.pm steals the post data, and
apreq sees nothing but an End of File situation.
If I were you, I'd double-check how you
Hi Joe,
Joe Schaefer wrote:
with a form using the post method and an enctype of
multipart/form-data.
In my browser, I am getting a single message: End of file found.
That is, the single line.
What's happening is that $req-upload calls $req-body, and that is
die'ing with the End of
Hi Joe,
Joe Schaefer wrote:
running on a test machine (i.e., the web server isn't live on the
Internet) so perhaps I didn't set it up correctly?
I really don't know, it could be the parser is just misbehaving on your
particular html form. What you can do to further investigate is
34 matches
Mail list logo