now I'm getting the value I'm looking
for.
Greg
vices or missed/interrupted mail. Just the
way I like things.
Greg
On Wed, 13 Aug 2003, Craig Edwards wrote:
> Hi,
> I once saw an example of port forwarding using netcat and inetd, i think it involved
> setting up a listening netcat as the application, using inetd to bind it to a
okies from Apache::ASP or
mod_perl? Or should I just use the HTTP_COOKIE variable and parse that to
get my list?
Thanks,
Greg
Try adding a -I for /usr/kerberos/include. Since they are not in the
/usr/include path that may be why it has problems.
On Fri, 18 Jul 2003, Richard Kurth wrote:
> I get this when I run locate krb5.h
> /usr/kerberos/include/gssapi/gssapi_krb5.h
> /usr/kerberos/include/krb5.h
>
> So I would say it
Check UseCanonicalName in Apache config. What you describe is what happens
when this is turned ON and Apache generates a URL that points back to
itself. Try turning this off and see if it makes a difference.
On Fri, 18 Jul 2003, Philip Mak wrote:
> Given this server configuration (this is a front
stance getting the shared version built is greatly appreciated.
Thanks,
Greg
STATIC BUILD -- THIS WORKED::
cd /home/Greg/apache/mod_ssl-2.8.14-1.3.27
./configure --with-apache=../apache_1.3.27
cd ../mod_perl-1.28
perl Makefile.PL
-05-28 at 22:45, Greg Dutkowski wrote:
> I have migrated my site from IIS and Active State to Apache 1.3 and
mod_perl
> on a Windows machine. I use the site to send emails to registered users
> using Mail::sendmail through our SMTP server (another machine).
>
> With Apache I can only
I have migrated my site from IIS and Active State to Apache 1.3 and mod_perl
on a Windows machine. I use the site to send emails to registered users
using Mail::sendmail through our SMTP server (another machine).
With Apache I can only send emails once after I start the Apache server,
thereafter i
I actually was successful at building apache/mod_perl static with DSO
support and not having to change the rest of the modules. It appears to
be working, so will continue to test further.
Greg
* Drew Taylor ([EMAIL PROTECTED]) [020728 22:19]:
> There are well written instructions in The Gu
d the rest of the modules. Will try that.
* Kyle Dawkins ([EMAIL PROTECTED]) [020728 18:58]:
> Hey Greg et al.
>
> I'd betcha your problem is almost certainly caused by your use of DSOs. If
> you *really* want to prune your system down to see where your bug is, then
> build apach
> $dbh->disconnect();
>
> um, okay but why disconnect at all, if you know the segfault is caused by
> the connect and/or disconnect calls? have you tries simply *not*
> disconnecting? one of The Features/Advantages of Apache::DBI (over plain
> ole DBI) is that disconnect calls simlpy destroy the connection *object*
> (the perl data structure) without actually disconnecting from the DB, and
> therby maintaining a pool of cached connections, and therby speeding things
> up nicely.
I have removed the disconnect, but it makes no difference as suspected.
I will note that once the server is started, it has 0 problems
communicating with Informix, it's only in this startup script that it
blows up badly.
--
Greg Rumple
[EMAIL PROTECTED]
e.
So I'm not quite sure what to do. I know I can get my entire system
working if I don't make the calls to Informix at startup (it appears
it's purely the connect that causes the error (whether it's a good
connect or not, I tried giving it a bogus password, and it still
crashes)), but well that's kind of a pain in the butt.
So if anyone has ANY clues, it would be sincerely appreciated, as I need
sleep, and I also would love to get this working.
Thanks a ton in advance.
Greg
--
Greg Rumple
[EMAIL PROTECTED]
,
Greg
http://www.CargoTel.com/
(email) [EMAIL PROTECTED]
ular contributer Perrin Harkins.
>
> http://www.perl.com/pub/a/2001/10/17/etoys.html
>
Yup, this is an excellent read. Thanks Perrin.
Greg
. Can Apache::DBI detect this?
Thanks in advance,
greg
ros ?
Thanks
Greg
I can run this simple script through perl itself, but when I put it in the
cgi-bin and try to run it using mod_perl Perl pops up in windows with an
error. I assume this means I need something like Apache::DBI?... I
originally got Apache in binary form with mod_perl installed and did not
have
password
parameter.
I am running solaris 5.6 with ApacheSSL.
thanks,
greg
/conf/httpd.conf"
-D ACCESS_CONFIG_FILE="/etc/httpd/conf/access.conf"
-D RESOURCE_CONFIG_FILE="/etc/httpd/conf/srm.conf"
"uname -a" and "cat /etc/redhat-release" give:
Linux snuff.testbed.private 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i586
unknown
Red Hat Linux release 6.2 (Zoot)
respectively.
Is this a known issue? If so, I'd be grateful for pointers to a solution.
Thanks,
Greg
gt; compiled perl to not hook into PostReadRequest
>
> Any suggestions?
> Is there a spell we can invoke? Do I need a dead chicken?
>
Did you complie mod_perl with the configure option of EVERYTHING=1 ?
I've found that dead chickens help the juju along, but invaribaly the
answer lies elsewh
Joern Janoschek wrote:
>
> On Wed, 14 Mar 2001 18:46:31 +, Greg Cope wrote:
>
> >There's no reason why Apache::DBI should not work - by the sounds of it
> >the connections strings may have been different ?
> >
> >Apache::DBI works in an environment whe
ser ID is used to connect
to the DB mulitple time. If you use two different connection strings
Apache::DBI will try and make both persistent (IIRC).
So check your DBI connection strings as they should be indentical.
Greg
> Thanks for any help or hint,
>
> Jörn Janoschek.
> KLAHOLD - We make IT work! - http://www.klahold.de
> - WebDevelopment - http://www.klahold.de
> - Content-Management-System - http://www.interred.de
with fast understressed
disks. I could be completly wrong here tho ;-).
Has anyone used the file system approach on a RAM disk ?
Greg
>
> - Perrin
switch now. Or, do you know of a reason,
> feature wise, that I should switch? Again, it is trivial to do so.
I've found it to be arround 5 - 10 % faster - on simple stuff on some
benchmarking I did arround a year ago.
Can I ask why you are not useing IPC::Sharedlight (as its pure C and
app
another release that uses PerlSetVars
to configure the module if I get a chance to test it.
If this does not help, then post either the code, or a URL to the code
if its long, so that some of us can have a look.
Greg
>
> Env is: Solaris 2.6 Apache 1.3.14 mod_perl 1.24_01
you,
Greg
http://www.CargoTel.com/
Dear All
I can rememeber that Jim Winstead was overhauling libapreq and sugested
that ver 0.32 may be out early in the new year if OK, is this still the
case ?
Greg
I can write a kludgy form that accepts / validates input and creates
some XML as per discussions if thats what you want ?
Greg
> --
>
>
> /||** Director and CTO **
>//||** AxKit.com Ltd ** ** XML Application Serving **
> // ||** http://axkit.org ** ** XSLT, XP
Bill Moseley wrote:
>
> This is a revisit of a question last September where I asked about
> upgrading mod_perl and Perl on a busy machine.
>
> IIRC, Greg, Stas, and Perrin offered suggestions such as installing from
> RPMs or tarballs, and using symlinks. The RPM/tarball o
dynamic content /
custom handlers. Also I been doing custom emailing, SMS server work,
and Sys admin (Linux and Solaris)
I can make meetings in London / South East (England, UK) if required.
URL's / code samples / references / CV etc available on request.
Thanks,
Greg Cope
l & C has is some excellent book - and has some
good examples.
I find the Cookbook excellent for the answer to the "How do I do XXX ?"
questions.
Read the Guide - period !
>
> Last, I'm assuming that the basic structure of this
> databse-driven web script is fairly com
John Hurst <[EMAIL PROTECTED]> writes:
> At 01:47 PM 12/12/00, Joshua Chamas wrote:
> Greg Stark wrote:
> >
> > How do I reliably remove a cookie from a browser's memory?
>
> Then Josh said:
> > What about setting the cookie with an expires d
.com is making a point of collecting Perl
> success stories and is always hungry for more. They won't convert
> the unwashed there, though.
>
> It'd sure be nice to have a WebTechniques special issue on mod_perl.
> Hint, hint, Randal :-)
nudges from here as well ;-)
Greg
>
> Nat
perl and persuade the PBH of the cost benefit here
?
This has hit on a point - in that may people choose Java over Perl
because its sexier, which becomes self forfilling, unless we (the perl
community) persaude people that (mod_)perl is sexy
Greg
>
> Chris
>
> --
> Chris Winters ([EMAIL PROTECTED])
> Building enterprise-capable snack solutions since 1988.
rite a handler to set the
header appropriately but I'm not even sure what I should be putting in the
header.
--
greg
above errors when I have around 40 httpd children. Has anyone else used
> IPC under mod_perl and had the same errors? I can't even seem to find out
> what it is I'm running out of ..
shared memory segments ...
Different OS have different IPC limits
My linux box has ipcs and ipcr
articles
> are concerned perlmonth.com has about 20 or so mod_perl related articles.
>
> I know I've kinda been absent for some time. And I want to publicly
> apologize to the readers and the writers.
Hurray !
Can I say thanks - I like perl month!
Is the HTML::Template part 2 in ther
in the general IT press be it ezines
or in paper is the way to go to raise the profile.
As an aside whats happening to perl month ? as this appears to be
exactly the sort of thing we need.
Greg
> I suppose that much more can be done. Comments are welcome.
>
> _
.
Solid state disks are very effective for particular applications like mail
spools and database logs where the application waits for data to be flushed to
disk before continuing. For most normal applications the same effect can be
obta
#x27;ll be leaving in March 2001. Such big changes
> of direction take time to work up to and work out smoothly. I am
> specifically rearranging things so I have time for DBI related work.
Very interesting.
Although a bit OT, but I am sure everyone is interested, what changes
are you planning f
content and
properties into an Oracle database. It should be appearing on the Oracle
Technical Network "real soon now".
So... mod_dav can do it, but yes: it would be C coding rather than Perl :-)
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
cache for HTML::Template. It needs to accept
signals so that Apache can HUP it to go get new templates.
Using a generic server class can enable me to get the code out of
apache.
Any clues welcome.
Thanks.
Greg
-
To unsubscribe, e
don't
> really understand how or where one should/could be used over the other.
Gunter - sounds like you are talking yourself into a slot here - again
this would be interesting from a PHB perspective i.e put mod_perl into
context with Java.
If any one is interested I could do something on Session Manager - which
I've been looking at rewriting in C - but I have to learn C at the same
time so its very slow
Greg
>
> Later,
> Gunther
'd help with something (sticking his head out on a block ;-)
Greg
>
> --
> Dave Hodgkinson, http://www.hodgkinson.org
> Editor-in-chief, The Highway Star http://www.deep-purple.com
> Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
> -
s this using
Shareable (a pure perl implementation) or ShareLite (C / XS
implentation).
I would be interested in any results / ideas on how to do it.
Greg
Jason Liu wrote:
>
> Is Apache::DBI absolutely necessary if you want to establish persistent
> database connection per child?
No you can write your own (its open source remember ;-) but why bother -
standing on the shoulders of giants etc ....
Greg
>
> Tha
> something) that procmail may write to?
Why not write a perl server that lisens to a socket ?
Regards
Greg Cope
>
> --
> Eric Smith
> Fruitcom.com Amsterdam
> Wire phone : +31 20 528 7340
> Mobile: +31 6 241 259 16
> www.fruitcom.com
A bit OT but:
Do they help with STATing of files ? as this appears to be a bottle neck
on some of my machines (i.e stating on the disks)
Greg
system
> > (Win32 is not important for now).
>
> Along with all the other fine suggestions here, you might like to check
> out the Memoize module on CPAN. I don't think it yet offers a way to
> invalidate the cache, but I know that is planned.
What about IPC::SharedCach
ee but apache has regex.h ... a regex libary - hence these should
be possible - or am I missing the point ?
Greg
>
> -dave
>
> /*==
> www.urth.org
> We await the New Sun
> ==*/
"G.W. Haywood" wrote:
>
> Hi there,
>
> On Mon, 30 Oct 2000, Greg Cope wrote:
>
> > In theory there is no reason why this should not be translateable to C,
> > it is quite small (in perl).
> > However:
> > a) I cannot do C (and translating this
Gunther Birznieks wrote:
>
> At 01:31 AM 10/30/2000 +, Greg Cope wrote:
> >[...snip...]
> > >
> > > And don't forget about the use of DirectoryIndex:
> > > GET /index.html http/1.0
> > >
> > > HTTP/1.1 302 Found <<== here
Bill Moseley wrote:
>
> At 05:24 PM 10/29/00 +, Greg Cope wrote:
> >Announcing Apache::SessionManager.
>
> Hi Greg,
>
> Here's a couple of other comments.
I should have mentioned that this was my first bit of public code - and
to be gentle ..
>
> Do
l, and any patches / bug fixes to me!
Please send me any feedback directly.
A BIG thank you to all that have help / sent me feedback / ideas, and
also to Doug for mod_perl and the Apache and perl authors.
Oh, Find it here:
http://sourceforge.net/projects/sessionmanager/
Regards
Greg Cope
if $description == undef && user eq 'admin' .
I've managed to add a description etc ... but as yet have not mastered
uploading a file
Although this is not mod-perl related - because its about sourceforge -
I am trying to sort out a mod perl module hence any c
darren chamberlain wrote:
>
> Greg Cope ([EMAIL PROTECTED]) said something to this effect:
> > > $r->header_out(Location => 'http://' . $r -> server -> server_hostname .
> > > $r->uri());
> >
> > Seems easy - will add it in.
>
x27;ve not had a chance to play with anything as I recovering from a
rather long week
On another note I've had little success with Sourceforge - I've set a
project up but cannot seem to login to FTP nor upload a CVS snapshot,
nor add a description . I've be
Matt Sergeant wrote:
>
> On Sat, 28 Oct 2000, Greg Cope wrote:
>
> > Matt Sergeant wrote:
> > >
> > > http://modperl.sergeant.org/ApacheConRep.txt
> > >
> > > Enjoy.
> >
> > Thanks for that Matt, I did enjoy it - IBM's
when mod_perl 2.0 would / maybe / migh possibly be
ready (I know, I know that it will be ready when its ready, only
asking!)
Greg
>
> --
>
>
> /||** Director and CTO **
>//||** AxKit.com Ltd ** ** XML Application Serving **
> // ||** http://a
Gerald Richter wrote:
>
> Hi Greg,
>
> >
> > I also hot heard anything back from the poeple I sent a copy to, I can
> > hence only assume that its so good that it's made them speachless ;-)
> >
>
> That's more a matter of time, then a matter o
Gunther Birznieks wrote:
>
> I believe Greg is familiar with Apache::Session. There have been
> discussions about this before. A session manager manages the workflow
> around sessions. A session stores information. They are two different things.
>
> In addition, I believ
Greg Cope wrote:
>
> Dear ALL
>
> I've writen a module that does transparent session management via either
> Cookies, Munged URI or Query Args.
>
> It has quite a few options to change the behavour, and appears stable in
> my developement environment.
>
>
er (arguably)), but it does
not serial data structures, so either Freeze / Thaw or DataDumper are
you friends here.
I've seen IPC::Sharable working ok on Solaris 2.6 but cannot offer any
guideance as to why it may not work.
Greg
to use your session manager.
Thanks Gunther
If anyone wants a copy in the mean time drop me a line.
Greg
>
> Thanks,
> Gunther
>
pache::SessionManager and set up a Source Forge project with the same
name.
Unless there is a major issue I assume that by the weekend everyone whom
wants to will have made thier view clear and will hopefully go forward
from there.
Regards
Greg
calling it from a browser. The script never
> returns so the browser hangs but at least the script runs. This is however
> rather messy and obviously not a method I want to use.
Not highly recomended but what about an exec / system call from the
startup.pl ? (as root remeber!).
Greg Cope
>I'm using mod_perl 1.24/Apache 1.3.12/Perl 5.00503 and find that I receive
>no output after the \0. Is this a mod_perl or Apache bug? Or is it a
>client bug (using Netscape 4.75) or is it the expected behavior.
It would be expected, I'd assume. perl5-porters discussed this back
in January wh
At 14:23 -0700 2000/10/09, Joshua Chamas wrote:
>$Request->QueryString->('foo')->Item() isn't valid perl syntax,
>is it?
>perl -c
$Request->QueryString->('foo')->Item()
__END__
- syntax OK
;-)
.g
--
Greg Williams, Cnation, (310) 228-6924
ath for web server requests. Which is really
the key measure that dictates the requests/s you can serve.
--
greg
itaialise it after the first request -
then the variable WILL have the same value as it had after its last use
IN THAT CHILD (as apache is a multi-process model - the var will have
different states in different children).
The mod_perl guide covers these issues very well.
Hope that helps.
Greg Cope
>
that host one application,
tailor made for that client (as in customer not http). IMHO mod_perl
cannot be beaten on performance or flexibilty in this scenario.
Should we not promote mod_perl as a web platform for the 'cognisenti'.
After all, all the 'best' things are
Matt Sergeant wrote:
>
> On Sun, 17 Sep 2000, Chris Winters wrote:
>
> > Hi Greg,
> >
> > Check out Class::Singleton for this purpose. Works great for me.
> >
.
> One thing C::Singleton misses is a clear_instance method though, which is
> prett
doing this ? A read of the guide
etc ... has not given me any clues.
Any ideas appreciated.
Greg Cope
### type glob example (off the top of my head - could be wrong)
package child_init;
use vars qw($foo);
$foo = My::db_handler->new();
###
package request_handler;
*db = \$child_init::
right for DES3.)
I've done web searches and cannot turn up any documentation or comment on
this. It seems like an odd side-channel to be using to leak this information.
Does anyone know anything more about it?
--
greg
simple module in the unix sense of doing
one thing well.
I also had the idea of creating a BB (BareBones) version that has
few(er) configuration options and is very simple.
Greg
>
> ~J
ue path to mod_perl wisdom!), this session module and a DB abstraction
layer (and aparently I should be creating a caching module as well!).
Well any ideas - please let me know.
Greg Cope
A few details below.
AIM:
To manage session ID's between client and server - to get (or optionally
s
has a bad point in that it introduces an
added layer of complexity .
I am certainly interested as accessing a local cache should be an order
of magnitude faster than asking a buzy DB.
Greg Cope
>
> --
> Brian Cocks
> Senior Software Architect
> Multi-Ad Services, Inc.
> [EMAIL PROTECTED]
ks etc usually has a limit somewhere,
and all too often I may reach it far sooner than I thought.
Greg
>
> - Perrin
up new versions in the time in takes to make a
online command with a few &&'s in and apache is backup in the time it
takes for apache to restart - which depends on the ammount of perl
modules it needs to deal with etc ...
Greg Cope
>
> _
cally must use an encoding like UTF-8 which can reach the entire unicode
character set or else you cannot mix languages.
--
greg
he parent just before a graceful restart. Then to force
rereading the library files without any downtime the you would just do a
graceful restart, which would recompile all the .pm files and then start
spawning new children with optimal shared memory behaviour:)
I believe Apache::ASP's internal mechanism is capable of this now.
--
greg
dy touched on this and it may be too bovious,
but if you are session managing all requests you are wasting alot of
time on non-html / dynamic content such as images, style sheets.
Greg Cope
h better though,
so it would be neat to see it polished.
--
greg
the mod_rewrite guide you are probably an open proxy, allowing attackers to
use your web server to attack other sites anonymously.
--
greg
redirector that will strip session args (if I can
get $r->args(undef) to work ) and/or uri's (which can help with exit
tracking etc ...) before redirecting to the link to help with session
leaks.
Greg
Matt Sergeant wrote:
>
> On Sun, 13 Aug 2000, Greg Cope wrote:
>
> > Apache->push_handlers("PerlTransHandler", \&transhandler);
>
> push_handlers is temporary, not permanent. And this line only gets
> executed once.
Thanks Mat - Explains everything.
up file - which I think is {now think was} more elegant that
adding a transhandler, that'll teach me!
Now all working thanks
Greg
>
> >
> > sub transhandler {
> >
> > my $r = shift;
> > unless ($r->uri =~ m!$DIR_MATCH!o) {
> >
27;Apache modules in Perl and C'. I must be missing somehing (a clue
for a start ;-).
The obvious answer is that a variable is not being redefined /
initialised.
Any ideas appreciated.
Greg Cope
### some clues below (I hope)
I have these lines in my startup.pl:
use tinasm::Session();
$t
Is this a bug / feature or just unexplained functionality ?
Greg Cope
her list.
>
> Look at the history of this list: it often gets very bursty and the quiet
> again. I think setting up a perl-template mailing list would be initially
> heavily trafficed, but be pretty much dead in a few weeks (or days even).
I'd agree.
The list tends to hit a raw n
steals your plaintext cookie
> or you send them the link with your Url munge in it, they can add
> things to your shopping cart. However, and importantly, while
> the user is in the secure area, the shopping cart is locked down, so
> unless they have your password also, you never have to buy any of it.
Thanks for that.
Greg
Ian Kallen wrote:
>
> Today, Greg Cope <[EMAIL PROTECTED]> frothed and...:
> > I posted about a generic URL mangeler / cookie session handler a few
> > days ago.
> >
> > Allthough this is not rocket science - I've writen a URI transhandler
> > t
[EMAIL PROTECTED] wrote:
>
> I have fully implemented URL munging and Cookie support,
> but SERIOUS troubles start to arise when you start adding
> the notion of secure sessions.
>
> I have done it, but it isn't pretty. Basically, there
> are three types of pages. Normal, Secure, and Secure
> (b
Joshua Chamas wrote:
>
> Greg & Gerald,
>
> I wanted to bring an important issue that came up with
> Apache::ASP, how will you deal with search engines indexing
> the session-ids in the URL?
>
> In Apache::ASP, this is handled a couple of ways, first the
>
Gerald Richter wrote:
>
> Hi Greg,
> >
> > As far as I am aware (please someone prove me wrong!) the does not
> > appear to be such a module.
> >
>
> I meant the module your are about to write :-)
>
> >
> > Please send me ideas / thoughs and
Gerald Richter wrote:
>
> Hi Greg,
>
> >
> > Can I recommend you write a simple, standalone module that everyone can
> > use and not just an embperl solution - I'd be willing to help (or write
> > it) if people send me their wants / ideas, and then fl
rgs and redirect those as well - so get
request do not lose their args.
If people want to send me wish lists I'll see if I can include them and
then write some docs (so far its in the tradition of real programmers
don't document - I'm hoping to be a real programmer ;-) and post
I'd be willing to help (or write
it) if people send me their wants / ideas, and then flame my code when I
think its ready!
Greg
> Gerald
>
> -
> Gerald Richterecos electronic communication services gmbh
> Interne
jeff wrote:
>
> The mod_perl eagle book has a good section on saving state information
> using session ids. And it's not necessarily mod_perl based.
Thanks Jeff.
I've some code based on parts of the state section - speifically the
ideas of URL mungling.
Greg
>
>
"Issam W. Alameh" wrote:
>
> check Apache::ASP
>
> http://www.nodeworks.com/asp/
>
> It is so great
>
Thanks - I'm looking for something more lightwieght - i.e just to do
this ...
But all the people pointing me to Apache::ASP is starting to tell me
something.
Greg
> Issam
\
1 - 100 of 201 matches
Mail list logo