[26384] in Perl-Users-Digest
Perl-Users Digest, Issue: 8555 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Oct 22 14:05:19 2005
Date: Sat, 22 Oct 2005 11:05:04 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Sat, 22 Oct 2005 Volume: 10 Number: 8555
Today's topics:
Re: apache logs <1usa@llenroc.ude.invalid>
Re: apache logs <matthew.garrish@sympatico.ca>
Re: apache logs <news@cutmeukjay.com>
Re: apache logs <news@cutmeukjay.com>
Re: apache logs <1usa@llenroc.ude.invalid>
Re: apache logs <news@cutmeukjay.com>
Re: getElementsByTagName, tag does not exist <matthew.garrish@sympatico.ca>
Re: JPL? <"v.niekerk at hccnet.nl">
Just need a pointer in the right direction... <noway@nowhere.com>
Re: Just need a pointer in the right direction... <1usa@llenroc.ude.invalid>
Re: Just need a pointer in the right direction... <matthew.garrish@sympatico.ca>
Re: Just need a pointer in the right direction... <noway@nowhere.com>
Re: why the perl docs suck <phaylon@dunkelheit.at>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sat, 22 Oct 2005 14:46:01 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: apache logs
Message-Id: <Xns96F76D89BF89Basu1cornelledu@127.0.0.1>
[ follow-ups set ]
"PhEaSaNt PLuCKeR" <news@cutmeukjay.com> wrote in
news:djd02m$nre$1@newsg4.svr.pol.co.uk:
> Can anyone advise me what is going on here please?
>
> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "CONNECT
> 64.12.165.56:6666 HTTP/1.0" 405 315
> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "POST
> http://64.12.165.56:6666/ HTTP/1.0" 200 2335
This part is off-topic here, but I think it is an attempt to exploit
some kind of porxy functionality. You are better off asking this part of
the question on an Apache group.
IMHO, it is good that the CONNECT request is denied.
> I notice this in my logs now and then, is it easy to simulate this
> with perl?
If by "simulate" you mean whether you can craft such requests with Perl,
I would suggest looking into LWP:
http://search.cpan.org/~gaas/libwww-perl-5.803/lib/LWP.pm
Sinan
--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)
comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
------------------------------
Date: Sat, 22 Oct 2005 10:48:21 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: apache logs
Message-Id: <Vis6f.22410$GH1.652493@news20.bellglobal.com>
"PhEaSaNt PLuCKeR" <news@cutmeukjay.com> wrote in message
news:djd02m$nre$1@newsg4.svr.pol.co.uk...
> Hi
>
> Can anyone advise me what is going on here please?
>
> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "CONNECT 64.12.165.56:6666
> HTTP/1.0" 405 315
> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "POST
> http://64.12.165.56:6666/ HTTP/1.0" 200 2335
>
> I notice this in my logs now and then, is it easy to simulate this with
> perl?
>
See the LWP module and lwpcook for examples of how to post data to a server
using perl.
Matt
------------------------------
Date: Sat, 22 Oct 2005 16:17:39 +0100
From: "PhEaSaNt PLuCKeR" <news@cutmeukjay.com>
Subject: Re: apache logs
Message-Id: <djdl6j$vdu$1@news6.svr.pol.co.uk>
"Matt Garrish" <matthew.garrish@sympatico.ca> wrote in message
news:Vis6f.22410$GH1.652493@news20.bellglobal.com...
>
> "PhEaSaNt PLuCKeR" <news@cutmeukjay.com> wrote in message
> news:djd02m$nre$1@newsg4.svr.pol.co.uk...
>> Hi
>>
>> Can anyone advise me what is going on here please?
>>
>> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "CONNECT 64.12.165.56:6666
>> HTTP/1.0" 405 315
>> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "POST
>> http://64.12.165.56:6666/ HTTP/1.0" 200 2335
>>
>> I notice this in my logs now and then, is it easy to simulate this with
>> perl?
>>
>
> See the LWP module and lwpcook for examples of how to post data to a
> server using perl.
>
> Matt
>
======================================================
Ok Matt, I'll have a look tks.
James
--
PhEaSaNt PLuCKeR
------------------------------
Date: Sat, 22 Oct 2005 16:22:16 +0100
From: "PhEaSaNt PLuCKeR" <news@cutmeukjay.com>
Subject: Re: apache logs
Message-Id: <djdlf8$kli$1@news7.svr.pol.co.uk>
"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
news:Xns96F76D89BF89Basu1cornelledu@127.0.0.1...
>[ follow-ups set ]
>
> "PhEaSaNt PLuCKeR" <news@cutmeukjay.com> wrote in
> news:djd02m$nre$1@newsg4.svr.pol.co.uk:
>
>> Can anyone advise me what is going on here please?
>>
>> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "CONNECT
>> 64.12.165.56:6666 HTTP/1.0" 405 315
>> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "POST
>> http://64.12.165.56:6666/ HTTP/1.0" 200 2335
>
> This part is off-topic here, but I think it is an attempt to exploit
> some kind of porxy functionality. You are better off asking this part of
> the question on an Apache group.
>
> IMHO, it is good that the CONNECT request is denied.
>
>> I notice this in my logs now and then, is it easy to simulate this
>> with perl?
>
> If by "simulate" you mean whether you can craft such requests with Perl,
> I would suggest looking into LWP:
>
> http://search.cpan.org/~gaas/libwww-perl-5.803/lib/LWP.pm
>
> Sinan
>
> --
> A. Sinan Unur <1usa@llenroc.ude.invalid>
> (reverse each component and remove .invalid for email address)
>
> comp.lang.perl.misc guidelines on the WWW:
> http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
=========================================================
> This part is off-topic here, but I think it is an attempt to exploit
check the header m8
> If by "simulate" you mean whether you can craft such requests with Perl,
> I would suggest looking into LWP:
Yes I'll have a look Sinan Thanks
James
--
PhEaSaNt PLuCKeR
------------------------------
Date: Sat, 22 Oct 2005 17:10:39 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: apache logs
Message-Id: <Xns96F7860F83A1Aasu1cornelledu@127.0.0.1>
"PhEaSaNt PLuCKeR" <news@cutmeukjay.com> wrote in news:djdlf8$kli$1
@news7.svr.pol.co.uk:
> "A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
> news:Xns96F76D89BF89Basu1cornelledu@127.0.0.1...
>>[ follow-ups set ]
>>
>> "PhEaSaNt PLuCKeR" <news@cutmeukjay.com> wrote in
>> news:djd02m$nre$1@newsg4.svr.pol.co.uk:
>>
>>> Can anyone advise me what is going on here please?
>>>
>>> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "CONNECT
>>> 64.12.165.56:6666 HTTP/1.0" 405 315
>>> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "POST
>>> http://64.12.165.56:6666/ HTTP/1.0" 200 2335
>>
>> This part is off-topic here,
...
> check the header m8
Why? To see that you have cross-posted to unrelated groups?
You should identify the Perl question, and the Apache question, and post
separately.
While you are at it, you might want to read the posting guidelines for
comp.lang.perl.misc. It has several recommendation on posting and
follow-up styles.
Sinan
--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)
comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
------------------------------
Date: Sat, 22 Oct 2005 18:43:10 +0100
From: "PhEaSaNt PLuCKeR" <news@cutmeukjay.com>
Subject: Re: apache logs
Message-Id: <djdtnf$quf$1@news7.svr.pol.co.uk>
"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
news:Xns96F7860F83A1Aasu1cornelledu@127.0.0.1...
> "PhEaSaNt PLuCKeR" <news@cutmeukjay.com> wrote in news:djdlf8$kli$1
> @news7.svr.pol.co.uk:
>
>> "A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
>> news:Xns96F76D89BF89Basu1cornelledu@127.0.0.1...
>>>[ follow-ups set ]
>>>
>>> "PhEaSaNt PLuCKeR" <news@cutmeukjay.com> wrote in
>>> news:djd02m$nre$1@newsg4.svr.pol.co.uk:
>>>
>>>> Can anyone advise me what is going on here please?
>>>>
>>>> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "CONNECT
>>>> 64.12.165.56:6666 HTTP/1.0" 405 315
>>>> 64.12.165.33 - - [22/Oct/2005:09:34:57 +0100] "POST
>>>> http://64.12.165.56:6666/ HTTP/1.0" 200 2335
>>>
>>> This part is off-topic here,
>
> ...
>
>> check the header m8
>
> Why? To see that you have cross-posted to unrelated groups?
>
> You should identify the Perl question, and the Apache question, and post
> separately.
>
> While you are at it, you might want to read the posting guidelines for
> comp.lang.perl.misc. It has several recommendation on posting and
> follow-up styles.
>
> Sinan
>
> --
> A. Sinan Unur <1usa@llenroc.ude.invalid>
> (reverse each component and remove .invalid for email address)
>
> comp.lang.perl.misc guidelines on the WWW:
> http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
:-)
------------------------------
Date: Sat, 22 Oct 2005 09:57:21 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: getElementsByTagName, tag does not exist
Message-Id: <5zr6f.22394$GH1.643556@news20.bellglobal.com>
<robic0@yahoo.com> wrote in message
news:e5ojl1hdas8utf88tt1mknpsullko6gi29@4ax.com...
> On Thu, 20 Oct 2005 08:04:45 -0400, "Matt Garrish"
> <matthew.garrish@sympatico.ca> wrote:
>>Simplistic statements like sax for everything aren't helpful.
>
> I didn't getcha on this statement..
>
You only talk about DOM and SAX in your original post (and being the two
most common and supported parsers, that's not surprising). By following up
and saying you'll never use nodes again you're implying that SAX is the only
way to go. That's all that was meant.
Matt
------------------------------
Date: Sat, 22 Oct 2005 12:06:54 +0200
From: Huub <"v.niekerk at hccnet.nl">
Subject: Re: JPL?
Message-Id: <435a0f3e$0$165$3a628fcd@reader2.nntp.hccnet.nl>
> Ah, so you don't actually have the source-tree around which the FAQ
> mentions. Just grab the appropriate version from the CPAN or so and in
> there you'll find the jpl/ directory.
>
> Tassilo
OK, thanks
------------------------------
Date: Sat, 22 Oct 2005 16:17:36 +0200
From: Nic <noway@nowhere.com>
Subject: Just need a pointer in the right direction...
Message-Id: <op.sy1wnmcoq2oh0t@f2821796xp.fnb.co.za>
Hi - I am battling to find the a resource, so maybe some one in here can
help :)
The problem is as follows: I am trying to build a mod_perl source code
editor for the web - to edit Perl source code in a browser. The trick is
that I want to add syntax highlighting to a HTML TEXTAREA tag. There are
millions of resources for just normal text color and background colors
(and images), but nothing on keyword highlighting.
Any help will be appreciated.
O yes - this is for an Open Source project I am planning :)
Cheers
Nico
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
------------------------------
Date: Sat, 22 Oct 2005 14:36:16 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: Just need a pointer in the right direction...
Message-Id: <Xns96F76BE2F4232asu1cornelledu@127.0.0.1>
Nic <noway@nowhere.com> wrote in
news:op.sy1wnmcoq2oh0t@f2821796xp.fnb.co.za:
> The problem is as follows: I am trying to build a mod_perl source code
> editor for the web - to edit Perl source code in a browser.
Interesting, but not necessarily on topic here, unless it is written in
Perl.
> The trick is that I want to add syntax highlighting to a HTML
> TEXTAREA tag. There are millions of resources for just normal
> text color and background colors (and images), but nothing on
> keyword highlighting.
See http://www.kevinroth.com/rte/demo.htm
Then, find an editor whose highlighting features you like, and see how
they do it. Now, it is time to start thinking about whether you can
implement something like that using Javascript on the browser.
That, of course, is off-topic here.
> O yes - this is for an Open Source project I am planning :)
That still does not make the question topical.
Sinan
--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)
comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
------------------------------
Date: Sat, 22 Oct 2005 10:38:44 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Just need a pointer in the right direction...
Message-Id: <U9s6f.22406$GH1.650087@news20.bellglobal.com>
"Nic" <noway@nowhere.com> wrote in message
news:op.sy1wnmcoq2oh0t@f2821796xp.fnb.co.za...
>
> Hi - I am battling to find the a resource, so maybe some one in here can
> help :)
>
> The problem is as follows: I am trying to build a mod_perl source code
> editor for the web - to edit Perl source code in a browser. The trick is
> that I want to add syntax highlighting to a HTML TEXTAREA tag. There are
> millions of resources for just normal text color and background colors
> (and images), but nothing on keyword highlighting.
>
You won't find any help here, I suspect. Whatever solution you're planning
would be client side, and Perl wouldn't be helpful for that. I suspect, in
fact, that you may be SOL in this endeavour. Textarea boxes do not allow you
to selectively choose sections of text to highlight in different colours.
Even if you go with MS's richtextbox implementation, you're still going to
have to write some hefty javascript to pull off syntax highlighting. Your
best hope may be a java applet.
As people are wont to say, you should really try a more suitable forum like
one of the comp.infosystems.www.authoring.* groups...
Matt
------------------------------
Date: Sat, 22 Oct 2005 16:56:41 +0200
From: Nic <noway@nowhere.com>
Subject: Re: Just need a pointer in the right direction...
Message-Id: <op.sy1ygrpjq2oh0t@f2821796xp.fnb.co.za>
Thanks - I wil try the suggested group.
On Sat, 22 Oct 2005 16:38:44 +0200, Matt Garrish
<matthew.garrish@sympatico.ca> wrote:
>
> "Nic" <noway@nowhere.com> wrote in message
> news:op.sy1wnmcoq2oh0t@f2821796xp.fnb.co.za...
>>
>> Hi - I am battling to find the a resource, so maybe some one in here can
>> help :)
>>
>> The problem is as follows: I am trying to build a mod_perl source code
>> editor for the web - to edit Perl source code in a browser. The trick is
>> that I want to add syntax highlighting to a HTML TEXTAREA tag. There are
>> millions of resources for just normal text color and background colors
>> (and images), but nothing on keyword highlighting.
>>
>
> You won't find any help here, I suspect. Whatever solution you're
> planning
> would be client side, and Perl wouldn't be helpful for that. I suspect,
> in
> fact, that you may be SOL in this endeavour. Textarea boxes do not allow
> you
> to selectively choose sections of text to highlight in different colours.
> Even if you go with MS's richtextbox implementation, you're still going
> to
> have to write some hefty javascript to pull off syntax highlighting. Your
> best hope may be a java applet.
>
> As people are wont to say, you should really try a more suitable forum
> like
> one of the comp.infosystems.www.authoring.* groups...
>
> Matt
>
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
------------------------------
Date: 22 Oct 2005 12:39:35 GMT
From: Robert Sedlacek <phaylon@dunkelheit.at>
Subject: Re: why the perl docs suck
Message-Id: <435a3307$0$12658$9b4e6d93@newsread4.arcor-online.net>
Fred@fred.net <Fred@fred.net> wrote
> But I would never tell someone they got something wrong, I would only
> say that I understood it differently.
Well, that would be the case if you'd presented your own interpretation.
It just seemed that you might think AC has thought this words in the
same sense you understand them.
> If you would like to arrange for private email, I'd be agreeable.
The mailing address I use is working, feel free to write if you wish.
p
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 8555
***************************************