Dmitry Beransky wrote:
>
> Hi,
>
> I'm redirecting an output of an ASP to my own module
> (w/Apache::Filter). In the module I want to check if the ASP has issued a
> redirect. I've tried looking at $r->status, but it always contains 200. I
> can see that the outbound headers contain 'Location
> I'm just starting in on porting some scripts over to either
> Apache::Registry or Apache::PerlRun, and trying to absorb as much as I can.
> It's seems a bit overwhelming at first.
>
> My scripts are reasonably clean, running under -w and use strict, yet I'm
> sure I have lots of porting issues
It should be [- foo("bar") -]
- Robert
Jason Bodnar wrote:
> Can the new sub meta-command not be used to define functions?
>
> I tried:
>
> [$ sub foo $]
> [+ shift +]
> [$ endsub $]
> [+ sub("bar") +]
>
> and got 0.
> ---
> Jason Bodnar + [EMAIL PROTECTED] + Tivoli Systems
>
> That boy doesn'
Yeah, I'd be happy to. I'm not quite done with my app-specific version, but
once I get done I'll genericize it and send it along. I'll have to write up
some documentation, too. It'll probably be a week or two before I have
something worthy of publication.
- Adi
Joshua Chamas wrote:
>
> About
Adi wrote:
>
> Thanks, Joshua. I tested out your development version 0.17 and it worked
> perfect for me.
>
> One thing I noticed was that if GetSession is improperly used, it could
> cause big security holes. By nature it will be used to access someone
> else's session, so the application sho
I'm just starting in on porting some scripts over to either
Apache::Registry or Apache::PerlRun, and trying to absorb as much as I can.
It's seems a bit overwhelming at first.
My scripts are reasonably clean, running under -w and use strict, yet I'm
sure I have lots of porting issues to deal wit
Thanks, Joshua. I tested out your development version 0.17 and it worked
perfect for me.
One thing I noticed was that if GetSession is improperly used, it could
cause big security holes. By nature it will be used to access someone
else's session, so the application should take care not to send
Hi,
I'm redirecting an output of an ASP to my own module
(w/Apache::Filter). In the module I want to check if the ASP has issued a
redirect. I've tried looking at $r->status, but it always contains 200. I
can see that the outbound headers contain 'Location', but I can't find the
proper ret
I wanted to trap non-existant session-id's by bracketing the
tie %{$href}, 'Apache::Session::DBI', $id,
{
DataSource => 'dbi:mysql:sessions',
UserName => 'db_user',
Password => 'db_passwd'
};
with an eval { }; block. Once I've done this and send a non-existant
session-id I ge
On the apache end, I would recommend setting MaxRequestsPerChild
to under 1000, to clean up any memory leaks that accumulate
over time.
Also, you should look into using Apache::ASP->Loader() to
precompile your asp scripts in your parent process, this has
large CPU & RAM sparing benefits.
Check o
I use it all the time to define subroutines.
They do not return values the way normal subroutines do however.
Perhaps Gerald needs to modify the documentation to reflect his.
cliff rayman
genwax.com
Jason Bodnar wrote:
> Can the new sub meta-command not be used to define functions?
>
> I tried:
Can the new sub meta-command not be used to define functions?
I tried:
[$ sub foo $]
[+ shift +]
[$ endsub $]
[+ sub("bar") +]
and got 0.
---
Jason Bodnar + [EMAIL PROTECTED] + Tivoli Systems
That boy doesn't know the difference between the Internet and a hair net. --
Jason Bodnar
hi there.
i'm having problems with my redhat secure server and
mod_perl combo
(mod_perl as a DSO). i'm new to mod_perl (and system
administration) but
obviously am looking forward to getting everything
figured out.
i believe there is some kind of memory leak (not sure
exactly), but when
i start
I'm using Apache/1.3.9 (Unix), mod_perl/1.21, Apache-Session-1.03, with
MySQL 3.22.25. I'm using the the Apache::Session::DBI module with MySQL
to provide some simple session management. I'm running the script as a
PerlHandler...
I'm storing the session ID as a hidden variable, which I retriev
> > nm apache_1.3.9/src/httpd
>
> My machine is Origin200 run IRIX6.4 as an OS. Do I have to set any flag
> that related to export or symbol) when I rebuild the apache? How I can
> check the Apache exports on my SGI?
>
I don't have IRIX, so I can't tell you. Christain Gilmore, with whom I
talked
> >
> > I'm sorry that I misunderstood your mail last time. Do I have to reinstall
> > apache or both apache and mod_perl.
>
> yes
>
> > I couldn't find the hints in the FAQ.
> > Could you please point me out where the document is located.
> >
>
> Look at
>
> http://perl.apache.org/embperl/Faq
>
> Here's the portion of my httpd.conf that deals with Embperl:
>
That's ok.
I think I found the reason:
> [3396892]ERR: 30: Line 1: Not found /usr/lund/wwwfiles/wnetdoc/map.c.html
As always there is an expection to the rule. The "Not found" (and FORBIDDEN)
errors are not going thru the Apac
Eric Cholet wrote:
>
> On Tuesday, October 19, 1999 4:13 AM, William Deegan [SMTP:[EMAIL PROTECTED]]
>wrote:
> > How can I change the environment variables that get passed to a perl
> > script running under Apache::Registry from a PerlTransHandler?
> >
> > I'm using the PerlTransHandler to do a
> I know this topic has been discussed to death, but I think I can add
> something new. :-)
>
> Upon using Apache::RegistryLoader, I noticed my error logs started
> filling up with the dreaded "subroutine redefined" error. These errors
> occur at the moment my scripts scripts are preloaded usin
I know this topic has been discussed to death, but I think I can add
something new. :-)
Upon using Apache::RegistryLoader, I noticed my error logs started
filling up with the dreaded "subroutine redefined" error. These errors
occur at the moment my scripts scripts are preloaded using
Apache::Re
Using:
Apache 1.3.9
mod_perl 1.21
I want to switch from .htpasswd to a database driven authentication, but I
still want to use my .htaccess for custom per-directory control. I have
read the Eagle book, and it seems that once you go for DB access control you
no longer mention the htaccess.
D
> ...and Embperl runs under mod_perl? Not as CGI? In CGI Mode
> the only chance
> is to print to stderr, which always shows up in the error log. Under
> mod_perl, the timestamp should apear and the message only
> get's logged when
> loglevel is error or below.
>
> If you run under mod_perl, how do
Stas Bekman <[EMAIL PROTECTED]> wrote:
>Anyway, let's stop talking about "you" and "we", we are all "we" :) No
>competition, only collaboration. James is working on this application,
>which is in pretty good stage (James?), why in the world would you want to
>write something else from scratch? Jam
>
> Nothing gets reported to the error log when those lines are
> commented out, no
> matter apache's LogLevel setting. The entry in the logfile that
> I'm seeing is
> apparently coming from the printing to stderr. I also have the
> same problem
> under a simpler configuration on Solaris (no ssl,
>
> I'm sorry that I misunderstood your mail last time. Do I have to reinstall
> apache or both apache and mod_perl.
yes
> I couldn't find the hints in the FAQ.
> Could you please point me out where the document is located.
>
Look at
http://perl.apache.org/embperl/Faq.pod.1.html#Running_make_t
A new version of Apache::VMonitor:
The uploaded file
Apache-VMonitor-0.03.tar.gz
has entered CPAN as
file: $CPAN/authors/id/S/ST/STAS/Apache-VMonitor-0.03.tar.gz
size: 11226 bytes
md5: c66e821a5ed9d2934805471b96a87a15
CHANGES:
* Added to top() section: date/time, uptime, average
> 1. Is there a easier way, I mean more transparent way to cache Tie to
> DBM files (I need READONLY).
> Something like "use Apache::DBI" in startup.pl file and then when I use
> "tie" or whatever ... if there is cached connection to get it instead
> creating new one, will this improve the speed
Well, since this problem is intermittant, and that I can't leave rogue
processes running in production, I have not been able to perform the latest
suggested tests (those against the kernel /proc dir).
As soon as I have additional information, I will surely post to the list.
At 5:39 PM -0400 10
hi there,
1. Is there a easier way, I mean more transparent way to cache Tie to
DBM files (I need READONLY).
Something like "use Apache::DBI" in startup.pl file and then when I use
"tie" or whatever ... if there is cached connection to get it instead
creating new one, will this improve the speed
On Tue, 19 Oct 1999, Tim Bunce wrote:
> If the ``$sth->fetchall_arrayref if $sth->{Active};'' logic was
> added to the DBI's prepare_cached, wouldn't that be enough for you?
> (Assuming you call prepare_cached for the first time for each
> statement when there's no active statement handle.)
I don
On Tue, Oct 19, 1999 at 12:36:30PM +0100, Matt Sergeant wrote:
> On Mon, 18 Oct 1999, Tim Bunce wrote:
> > >
> > > I've never looked at prepare_cached() for DBD::Sybase, and Matt tried
> > > it out and it appeared not to work.
> >
> > "appeared not to work" isn't much more specific :-)
>
> Sorr
On Mon, 18 Oct 1999, Tim Bunce wrote:
> >
> > I've never looked at prepare_cached() for DBD::Sybase, and Matt tried
> > it out and it appeared not to work.
>
> "appeared not to work" isn't much more specific :-)
Sorry, but I don't have enough tuits to tie it down exactly. As Michael
said it's a
> Aha, now I see much more clearly. I had thought about that, but had pushed
> it to the back of my brain as a problem that could be solved when time came
> to go live. I have a server myself, and though I probably couldn't get
> approval to open it to others I can do pretty much what I want as lo
At 10:41 19/10/1999 +0200, Stas Bekman wrote:
>That makes sense. But you should understand my motives for moving to
>modperl.sourcegarden.org. Otherwise there was no reason not do everything
>at perl.apache.org.
>
>So, perl.apache.org is just a VH at apache.org. You have almost no ability
>to add
> At 09:12 19/10/1999 +0200, Stas Bekman wrote:
> >> We were planning to put a good deal of the stuff into a db too I think. I
> >> guess it doesn't matter too much if we have duplicated content as long as
> >> it is in sync. We will have to take into account what you are doing so that
> >> we can
On Tuesday, October 19, 1999 4:13 AM, William Deegan [SMTP:[EMAIL PROTECTED]] wrote:
> How can I change the environment variables that get passed to a perl
> script running under Apache::Registry from a PerlTransHandler?
>
> I'm using the PerlTransHandler to do a sort of dynamic mod_rewrite
> fu
At 09:12 19/10/1999 +0200, Stas Bekman wrote:
>> We were planning to put a good deal of the stuff into a db too I think. I
>> guess it doesn't matter too much if we have duplicated content as long as
>> it is in sync. We will have to take into account what you are doing so that
>> we can cross-lin
37 matches
Mail list logo