On Mon, 9 Dec 2002, Perrin Harkins wrote:
> md wrote:
> > My question is with regards to whether I need or
> > should put the submitted data into the session as the
> > user navigates the forms (to create an account). The
> > user will be taken through three forms to create an
> > account. So for
On Thu, 21 Nov 2002, Trevor Joerges [SendMIME Software] wrote:
> behavior is intermittent. I've read the mod_perl pitfalls and the
> "PerlSendHeader" is set to "on" in my config file. Is there something else I
> need to add or remove?
Hi Treveor,
I've seen three fixes to this sort of problem in th
On Fri, 15 Nov 2002, [iso-8859-1] "Faßhauer, Wolfgang, FCI3" wrote:
>>Hmm. I think that the guy who wrote Blowfish_PP would cut my
> danglies off
>>for that one.
>
>This is an interesting idea.
Cutting my danglies off? hmm. Sounds painful.
>Many thanks to you, Rafiq!
s'ok, although I wouldn't
On Fri, 15 Nov 2002, [iso-8859-1] "Faßhauer, Wolfgang, FCI3" wrote:
> > Have you thought of running your webserver as some 'www' user? You can
> > then make your scripts readonly by a 'dev' group which the www user and
> > the developes are members of.
> >CORRECT:
> >'readonly' should be 'only rea
On Fri, 15 Nov 2002, Rafiq Ismail (ADMIN) wrote:
> On Fri, 15 Nov 2002, [iso-8859-1] "Faßhauer, Wolfgang, FCI3" wrote:
> > one database user because of resource limits. The problem I see is that the
> > password for connecting to the database is clear readable in the
On Fri, 15 Nov 2002, [iso-8859-1] "Faßhauer, Wolfgang, FCI3" wrote:
> one database user because of resource limits. The problem I see is that the
> password for connecting to the database is clear readable in the perl
> script.
> Does anybody know how to hide that password?
Have you thought of run
Ugggh: My software works with the 'original server settings', (apache
1.3.24/mod_perl 1.26) see below(1), under linux.
It doesn't work with 'new server settings', (apache 1.3.26 / mod_perl
1.26) see below(2), under freeBSD.
Symptoms:
With the new build, I get seg faults with 'some' of the PerlMo
On Tue, 12 Nov 2002, Dominic Mitchell wrote:
> > I'm sure that the BSD users amoungst you have all done it 101 times.
>
> Nope, ports only supports mod_perl as a DSO.
oh, poop.
> The alternative is to use something like apache toolbox[1] to install it
> all in one go. If you want to be sneaky, y
I'm a bit irritated by FreeBSD ports at the moment and need somoene to
shine some light. I need to build Apache from ports on a BSD box - it has
to be from ports - but i don't want to include mod_perl in as a dso.
Thus, I'd like to go to ports and 'Make' with a bunch of options which
will compile
On Fri, 8 Nov 2002, Tony Simbine wrote:
> GET http://www.myhost.com/myscript.perl
> >now I get the results as expect
> GET http://www.myhost.com/myscript.perl
> >now I get an error
> wenn i reload my apache-webserver, then i allways get the expected page.
> how can i resolve it?
You know he's ri
On Wed, 16 Oct 2002, Kirk Bowe wrote:
> my $dbh = DBI->connect ("dbi:Pg:dbname=hello", "postgres", "foo");
> my %orig = ();
> my @attrs = qw(AutoCommit RaiseError);
> $orig{$_} = $dbh->{$_} for @attrs;
> $dbh->{AutoCommit} = 0; $dbh->{RaiseError} = 1;
>
> When I later do the $dbh->commit, it
On Tue, 15 Oct 2002, Paul Simon wrote:
> variables, such as the DBI handle, offer any benefits (or pain) of a
> shared connection?
You might want to try using Apache::DBI for persistent connections.
It is completely transparent to your code, in terms of changes.
R.
--
Senior Programmer
Bookings
On Mon, 14 Oct 2002, Eric Frazier wrote:
> >That looks like voodoo code copied from a man page. If you call this as
> >Holds->new(), you don't need that junk about ref. (And most people
> >recommend against the "new Holds" syntax.)
>
> I wanted the DBH to be global since just about every sub in
On Mon, 14 Oct 2002, Eric Frazier wrote:
> >That looks like voodoo code copied from a man page. If you call this as
> >Holds->new(), you don't need that junk about ref. (And most people
> >recommend against the "new Holds" syntax.)
>
> I wanted the DBH to be global since just about every sub in
On Wed, 9 Oct 2002, Anton Permyakov wrote:
> Hi all,
>
> I need to start process, which would get big amount of data from another
> server into my DataBase,
> and while it will do it, my browser should show me progress-bar on this data
> extraction.
> I have mod_perl based web-server, so, i shoul
Hi People,
I'm trying to figure out why something is happening and after a failed
very silly idea of forking, backticks, greps and strace, I seek your help!
Background
--
Using:
moya# /usr/local/sbin/httpd -v
Server version: Apache/1.3.26 (Unix)
Server built: Jul 2 2002 13:08:13
On
Hi People,
I'm trying to figure out why something is happening and after a failed
very silly idea of forking, backticks, greps and strace, I seek your help!
Background
--
Using:
moya# /usr/local/sbin/httpd -v
Server version: Apache/1.3.26 (Unix)
Server built: Jul 2 2002 13:08:13
On
Hi People,
I'm trying to figure out why something is happening and after a failed
very silly idea of forking, backticks, greps and strace, I seek your help!
Background
--
Using:
moya# /usr/local/sbin/httpd -v
Server version: Apache/1.3.26 (Unix)
Server built: Jul 2 2002 13:08:13
On
Doh! SUBSTR - I forgot to wear my brain this morning.
On Tue, 17 Sep 2002, Rafiq Ismail (ADMIN) wrote:
> Hi,
>
> I'm using postgres and remember having done something ages ago with some
> operator in mysql, although it makes zero sense to me now as to how I did
> it the
Hi,
I'm using postgres and remember having done something ages ago with some
operator in mysql, although it makes zero sense to me now as to how I did
it the first time. What I want to do is have a select return a partial
string from the ith character of a string to the jth character of a
string
Hi, I'm in major poop.
Got a presentation soon and my just implemented, implementation of
Apache::Session is not working as per the man page.
I've set commit to 1 and tied a session to a postgres database. I then
set a field and check the table it's not there.
When I later do a fetch on it, I
On Sat, 3 Aug 2002, Ged Haywood wrote:
> Hi there,
>
> On Sat, 3 Aug 2002 [EMAIL PROTECTED] wrote:
>
> > Well I wouldn't use CGI.pm just to call param().
> >
> > If I don;t use CGI.pm, it complains during compilation
> > - Undefined subroutine &Apache::ChangePassword::param.
>
> Yup. You need t
On Fri, 26 Jul 2002, Mark Coffman wrote:
> Try running "which perl" and use that path for your #!/usr/bin/perl line.
> Then rename your script as .cgi and see if that helps.
Um.. yeah, ignore all my "locate" tribble. 'which' is the way to go.
That wasn't a question.
Hi People With Functioning Brain Cells,
I'm having a brief period of grief, which I'm sure I've been through
before.
I have this situation where I set a cookie using:
$r->header_out('Set-Cookie'=>$cookie);
Now this is all fine, however I'm having a major problem in getting my
header into the ri
I'm in a baffled state, ladies and gentleman.
I'm using TT2 to ultimately display some pages, however I'm having some
rather odd behaviour creeping in.
In my template constructor I have CACHE_SIZE set to 0.
I have a page which - even after a server restart - reverts to an older
version of the p
I'm doing squinty eyed coding and need someone to knock common sense into
me. In the right order - as far as I can see - I have my content_type
;send_http_headers; $r->print'ed. With loads of poo in between. Under
what circumstances would my page render, dumping the HTTP headers at the
base? O
> On Thu, 6 Jun 2002, Bill Moseley wrote:
>
> > Anyone have links to examples of MVC Perl code (mostly controller code)
> > that does a good job of M and C separation, and good ways to propagate
> > errors back to the C?
I'm working on my own impelmentation at the moment and am planning to have
a
On Thu, 6 Jun 2002, Bill Moseley wrote:
> Anyone have links to examples of MVC Perl code (mostly controller code)
> that does a good job of M and C separation, and good ways to propagate
> errors back to the C?
"http://pagekit.org,"; might be interesting.
Fiq
Ello,
On 29 May 2002, Randal L. Schwartz wrote:
> >>>>> "Rafiq" == Rafiq Ismail (ADMIN) <[EMAIL PROTECTED]>
writes:
> Rafiq> Is there a neat way of dynamically loading in the appropriate
control
> Rafiq> subclass? Something proven and widely us
Hi,
I'm building an MVC architecture site and have hit a design issue. I have
varoius Control subclasses which relate to different templates with
different behaviour. Now my problem is that I have to assign which
Subclass I want to instantiate, based on the script and params. I my last
effort
> Mark Fowler wrote:
> Agreed. Also, any significant Mason component is likely to use Mason's
> built-in object model, which is not part of TT. You will probably have
> to port some code before it will run.
Understood, but it's a small application which is more custom o.o. perl
and inline perl
Hi,
I'm experimenting with conversion of a mason template based system to tt2.
I tried to set TT2Tags to mason and then to <% > however this, even with
the evaluate option to on, doesn't seem to work. (Apache::Template)
I then wrote a custom handler which uses a custom parser, which I've
constru
Hi Geoff,
> not sure where to start looking for some info, so I thought here first
>
> I need to be able to print pdf's from an apache webserver using perl...
> I know usually that just an link to the file is sufficient, but these files
> are outside of the /var/www/path to webserver.
In such
2 Apr 2002, Rafiq Ismail (ADMIN) wrote:
> Got a slight problem here..
>
> Does anyone know why there was at some point a major change in the return
> value for DBI::selectall_hashref? And is there a depricated method which
> still uses the original prototype?
>
> My probl
Got a slight problem here..
Does anyone know why there was at some point a major change in the return
value for DBI::selectall_hashref? And is there a depricated method which
still uses the original prototype?
My problem:
---
Using DBI V1.19 on my box, the reported prototype is:
Postgres: +More relational? So they say. More features perhaps.
+stored procedures - ie. you can make query wrapping methods
-pain the rear postgres user permissions to control.
+been doing complex sql queries (subselects etc,)
for longer.
+Rem
A quick fix might be to stick your from header in your script, when
generating the email.
fiq
On Thu, 21 Mar 2002, Ewen Marshall wrote:
> I apologise striaght away for the completly off topic mail, but I'm desparate!
>
> I am having problems with return receipts from our users here at work.
On Wed, 6 Mar 2002, Rasoul Hajikhani wrote:
> Robert Landrum wrote:
> > #startup.pl
> >
> > open(FILE," > $MY::TEMPLATE .= while();
> > close(FILE);
> Thanks... But I use Template Toolkit to generate a dynamic file. How
> would the above code work in that situation?!
Not how I'd do it, although I'
Surprisingly I'm actually doing a proof of principle on the same theme.
I'm developing a set of MVC classes which tie in with either tt2 or mason.
I've got abstract Model, View and Controller classes. View can be
subclassed into HTML, XML, whatever. I'm using normal classes at the
moment, but i
Although all your cookies will be probably be going to the same proxy for
those requests from the same isp, the tcp-ip session will remain the same
and it is most likely that you'll still be connected to the same ip which
made the initial proxy connection. My thought is possibly that you're
misui
Have you tried running a locate on AuthenSmb.pm to make sure that it's
under your @INC? Wondering whether you installed it in the correct
location? Try sticking a :
use lib "path/to/Apache";
a little higher up.
Fiq
On Mon, 11 Feb 2002, Andrew Afliatunov wrote:
> Hi!
>
> I want to
btw, my assumption here was that massive long line in your -I is some
how wrong. Well it's got to be right?
Fiq
On Thu, 7 Feb 2002, Rafiq Ismail (ADMIN) wrote:
> Hi Lynne,
>
> On Wed, 6 Feb 2002, Ng, Lynne (Exchange) wrote:
> > #!/usr/bin/perl -I
> > /usr/local/lib/
Hi Lynne,
On Wed, 6 Feb 2002, Ng, Lynne (Exchange) wrote:
> #!/usr/bin/perl -I
> /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Sybase:/usr/local/lib/perl
> 5/site_perl/5.005/sun4-solaris/auto/Sybase
> use Sybase::CTlib;
> @INC = @lib::ORIG_INC; **
> print "Hello world";
** Assuming that "@IN
Not sure but it just looks like you're getting confirmation of semaphore
locking which is probably occuring between the different processes - I'd
guess. Then again, it's worrying that it's being directed to STDERR. My
guess would be that it's harmless. Check the options with which you
rebuilt a
is a standard
editor on Xnix boxes and might be a useful tool to master if you're going
to ever start working on native platforms - well not native, but UNIX
based. I'm think it likely that the windows version may offer syntax
highlighting under perl. You'll have to check the docco
d the module which houses the my_start
function in your server conf. Use "" or " use lib
whereeverVSwapstufflives; use WhatEverVSwapModule;" type
stuff. Although, I'd assume
you read your documentation and did this when setting up your server
right? You did, didn
ng for sys/stat.h... yes
> checking for stat... yes
> checking for _stat... no
> checking for isnan... yes
> checking for isinf... yes
> checking for pow... no
> checking for pow in -lm... yes
> checking for floor... no
> checking for pow in -lm... (cached) yes
> checking for fabs... no
> checking for pow in -lm... (cached) yes
> checking for gettimeofday... yes
> checking for mktime... yes
> checking for localtime... yes
> checking for asctime... yes
> checking for time... yes
> checking for gmtime... yes
> checking for perl... perl
> checking for libxml libraries >= 2.4.7... ./configure: xml2-config: command not found
> ./configure: test: integer expression expected before -ge
> configure: error: You need at least libxml2 2.4.7 for this version of libxslt
>
>
> Please, help me.
>
>
> -SubbaReddy
>
>
>
--
Rafiq Ismail
Software Engineer and Systems Administrator
http://www.codix.net
"All the best people in life seem to like Linux." - Steve Wozniak
really need to require it.
> >
> > What can I do ? I need this different domains, cause the script-action
> > depends on the calling domain.
Well you don't want to be fetching it from your namespace do you!!!
Use your environment variables.
--
Rafiq Ismail
Software Engineer and Systems Administrator
http://www.codix.net
"All the best people in life seem to like Linux." - Steve Wozniak
rhaps increasing the number of daemons will
relieve the load. Not sure. It's a big box. Any ideas?
iv) Something else?
I'd appreciate some suggestions.
Thanks,
R.
--
Rafiq Ismail
Software Engineer and Systems Administrator
http://www.codix.net
"All the bes
a Unix. He is on
> a NT.
>
> Assuming the disk is on the Unix and the Unix is running Samba, then
> just define a network drive on your NT, say
>
> V: which mapps to \\yourunixbox\disk7
>
>
--
Rafiq Ismail
Software Engineer and Systems Administrator
http://www.cod
tHandler perl-script
PerlHandler HTML::Apache::ASPerl
#######
Many Thanks,
R.
--
Rafiq Ismail
Software Engineer and Systems Administrator
http://www.codix.net
"All the best people in life seem to like Linux." - Steve Wozniak
ce with ie5/mac
calling a real media file delivered through cgi. Had to use the same
"?...&fakeparam=.rm" cop-out.
I'm sure Microsoft probably see this a feature though. Just like they've
always see their blue screen of death as a feature.
R.
--
Rafiq Ismail
Software Engineer and Systems Administrator
http://www.codix.net
"All the best people in life seem to like Linux." - Steve Wozniak
.
Would appreciate any feedback.
Thanks.
Rafiq
--
Rafiq Ismail
Software Engineer and Systems Administrator
http://www.codix.net
"All the best people in life seem to like Linux." - Steve Wozniak
53 matches
Mail list logo