Re: If (!$one_thing) {$other;}

2003-07-02 Thread John Michael
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;}

htaccess files

2003-05-30 Thread John Michael
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

Off Topic but curious

2003-03-31 Thread 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

Apache perl question. May be off topic.

2002-11-28 Thread 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

Re: Off topic question a little worried

2002-03-21 Thread 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

Off topic question a little worried

2002-03-20 Thread John Michael
; print pre($l); } print $ENV{SERVER_NAME}; Can anyone tell me what it does. Thanks John Michael

confused and need help

2002-01-12 Thread 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

too many files open

2001-12-03 Thread John Michael
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

What do these messages mean on startup

2001-11-15 Thread John Michael
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

Cookie authentication

2001-11-15 Thread John Michael
cookies turned on and do you know of many sites that do this successfully without loosing members. Thanks John Michael

Re: Cookie authentication

2001-11-15 Thread 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,

apache restart messages question

2001-11-14 Thread John Michael
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

Installing modules

2001-11-03 Thread John Michael
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

Re: Install problems

2001-11-03 Thread 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

apache::request and other newbie questions

2001-11-02 Thread John Michael
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

Re: New mod_perl hacker wannabe . . .

2001-10-28 Thread 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

Re: [OT] Nimda, etc (was: New mod_perl hacker wannabe . . .)

2001-10-28 Thread John Michael
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

Re: [OT] Nimda, etc (was: New mod_perl hacker wannabe . . .)

2001-10-28 Thread John Michael
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

Re: namespace-troubles

2001-10-25 Thread John Michael
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

Re: namespace-troubles

2001-10-24 Thread John Michael
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

Re: Newbie having problems

2001-10-24 Thread John Michael
(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

Newbie having problems

2001-10-23 Thread 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

Re: Newbie having problems

2001-10-23 Thread 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

RE: newbie having problems

2001-10-23 Thread John Michael
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.

2001-02-28 Thread John Michael
How to unsubscribe. please Thanks John Michael

New to mod perl help

2001-01-23 Thread John Michael
server load.thanks in advance--John Michael

Re: Dynamic content that is static

2000-12-22 Thread 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

Re: Which is good mailing list for perl developers.

2000-12-13 Thread John Michael Soileau
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