RE: parameters taintness

2008-04-22 Thread Eli Shemer
t: Tuesday, April 22, 2008 9:40 PM To: Eli Shemer Cc: modperl@perl.apache.org Subject: Re: parameters taintness On Mon, Apr 21, 2008 at 3:48 PM, Eli Shemer <[EMAIL PROTECTED]> wrote: > eval{ > > tie %session, 'Apache::Session::MySQL', $id, > { >

RE: parameters taintness

2008-04-21 Thread Eli Shemer
TED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: Monday, April 21, 2008 8:13 PM To: Eli Shemer Cc: modperl@perl.apache.org Subject: Re: parameters taintness On Mon, Apr 21, 2008 at 2:53 PM, Eli Shemer <[EMAIL PROTECTED]> wrote: > I summed it down to this line of code > &g

RE: parameters taintness

2008-04-21 Thread Eli Shemer
la]:localhost","[bla]","[bla]") or die "Cannot connect to database: $DBI::errstr"; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: Monday, April 21, 2008 7:36 PM To: Eli Shemer Cc: modperl@perl.apache.org Su

RE: parameters taintness

2008-04-21 Thread Eli Shemer
And $id was double checked. Note that when I remove the TaintIn parameter in the DBI->connect, the page works with the above code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: Monday, April 21, 2008 7:36 PM To: Eli Shemer Cc: m

RE: parameters taintness

2008-04-21 Thread Eli Shemer
te a debugger script that will simulate all of the operations up to that point. (login, submission of data to the page) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: Monday, April 21, 2008 5:54 PM To: Eli Shemer Cc: modperl@perl.ap

RE: parameters taintness

2008-04-21 Thread Eli Shemer
It's stuck on "Waiting for... " in the status bar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: Monday, April 21, 2008 5:24 PM To: Eli Shemer Cc: modperl@perl.apache.org Subject: Re: parameters taintness On Mon, Apr

RE: parameters taintness

2008-04-21 Thread Eli Shemer
Sent: Monday, April 21, 2008 5:24 PM To: Eli Shemer Cc: modperl@perl.apache.org Subject: Re: parameters taintness On Mon, Apr 21, 2008 at 12:21 PM, Eli Shemer <[EMAIL PROTECTED]> wrote: > Problem is, > > When DBI "Taint" is on, the page is completely stuck and I cannot find

parameters taintness

2008-04-21 Thread Eli Shemer
Hey there I’m looking for more information on this subject. I’m using mod_perl2 and apache2 Currently what I’m trying to do is to make both the page and the DBI module tainted-enabled I have –t enabled in httpd.conf And {Taint => 1} upon the DBI connection call. I’ve made modifica

utf8 urls

2008-03-19 Thread Eli Shemer
Hey there For some reason the following test doesn’t print anything out to the screen Do I need to change something in the apache configuration, or mod_perl’s ? /articles_read.pl?id=חוזרת ## get http parameters $r = shift; $apr = Apache2::Request->new($r); print $apr->param('id');

RE: redirect

2007-10-10 Thread Eli Shemer
DIRECT); $r->headers_out; # Print qq ( test ); # not a good idea -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: Sunday, October 07, 2007 12:41 AM To: Eli Shemer Cc: Issac Goldstand; modperl@perl.apache.org Subject: Re:

RE: redirect

2007-10-06 Thread Eli Shemer
valid redirect as part of the system. Thanks a lot. -Original Message- From: Issac Goldstand [mailto:[EMAIL PROTECTED] Sent: Saturday, October 06, 2007 7:02 PM To: Eli Shemer Cc: modperl@perl.apache.org Subject: Re: redirect Sounds like you're doing something not-quite-right..

RE: redirect

2007-10-06 Thread Eli Shemer
6:15 PM To: Eli Shemer Cc: modperl@perl.apache.org Subject: Re: redirect Send a Location: header back instead of a full response and return HTTP_MOVED_TEMPORARILY from your handler. If you want/need to return a response from the page, you can alternatively use an HTML META tag in the header to acco

redirect

2007-10-06 Thread Eli Shemer
Hey there, I constructed a logout button which simply refers you to a page that takes away your cookie and then redirects you the main page. Internal_redirect however does not seem to be the best use in this case since, apparently, the address bar is not updated accordingly and even the cookie is

RE: Apache2::UploadProgress

2007-09-28 Thread Eli Shemer
Nevermind. It was a permissions problem. Thanks anyway. From: Eli Shemer [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 11:28 PM To: modperl@perl.apache.org Subject: Apache2::UploadProgress Hey there I've just now installed it and I get an error regarding the

Apache2::UploadProgress

2007-09-28 Thread Eli Shemer
Hey there I've just now installed it and I get an error regarding the xslt usage. I don't have mod_xsl installed for my apache2 system but according to the docs, it should have been directed to a different html page instead of the xsl file. Apparently it did not and I see no .html file anyway

apache2 graphs

2007-09-19 Thread Eli Shemer
Hey there What replacement do I have for Apache::GD to work on mod_perl 2 ? Thanks.

RE: apr

2007-09-15 Thread Eli Shemer
ed symbols in my error_log -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: Friday, September 14, 2007 9:55 PM To: Eli Shemer Cc: modperl@perl.apache.org Subject: Re: apr On 9/14/07, Eli Shemer <[EMAIL PROTECTED]> wrote: >

apr

2007-09-14 Thread Eli Shemer
Hey again Once I add the apr object I get no error but I also receive no output on the screen. Any thoughts ? #!/usr/bin/perl use Apache2::Request; my $r=Apache2::RequestRec; #my $apr = Apache2::Request->new($r); $r->content_type('text/html'); $r->headers_out(); print "bla";

post data

2007-09-14 Thread Eli Shemer
Hey there. I yesterday compiled and installed apache2 on our company's server but it's currently on port 8080 for further testing. I'm currently updating our perl code to run natural mod_perl 2 code and there's something I've stumbled upon. Usually what we do is grep the POST data using

FW: apache and php

2007-07-02 Thread Eli Shemer
יום טוב ולהתראות. אלי שמר. -Original Message- From: Eli Shemer [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 6:48 AM To: 'William A. Rowe, Jr.' Subject: RE: apache and php No. Mod_so and mod_perl are both loaded and listed by httpd -l I now installed mod_perl as

apache and php

2007-07-02 Thread Eli Shemer
Hey, I have installed mod_perl 1.3 statically to apache while using php as a DSO After I've gracefully reloaded apache, php stopped working What is the best way to get them both working together ? Should I statically link php as well or do I have to use mod_perl as a DSO ? Thanks.