Hello!
I want to upgrade my project with implementing some feature.
Project was writen for mod_cgi, but I would like to parse content that
was generated by my scripts to implement something like SSI or
Apache::UCase and etc.
I don't know how to set stacked handler after mod_cgi. May be it's
wrong
Hello!
internal_redirect()
The required argument is an absolute URI path on the current server.
The server will process the URI as if it were a whole new request,
running the URI translation, MIME type checking, and other phases
before invoking the appropriate content handler for the new
Hello again.
May be it helps to solve your problem.
is_initial_req()
There are several instances in which an incoming URI request can
trigger one or more secondary internal requests. An internal request
is triggered when internal_redirect() is called explicitly, and it
also happens behind the
I want to upgrade my project with implementing some feature.
Project was writen for mod_cgi, but I would like to parse content that
was generated by my scripts to implement something like SSI or
Apache::UCase and etc.
PH You can't do that. However, you can run your CGI scripts under
PH
AA perldoc cgi_to_mod_perl
AA perldoc mod_perl_traps
AA http://perl.apache.org/docs/1.0/guide/porting.html
PEE There aren't many problems with Apache::PerlRun, as it goes to great
PEE lengths to be a direct equivalent to mod_cgi so that dirty scripts can run.
PEE Anyway, the Guide is always here
GH Congratulations!
Thank you.
GH Install them, then try the commands
GH perldoc Apache::OutputChain
GH and
GH perldoc Apache::Filter
GH which will tell you about them. You can look at the source code too.
Have done.
Each documents talking only about there own modules.
But I'm interesting in
Hello!
I've wrote my module that uses Apache::Forward example from Writing
Apache modules with Perl and C. Module generates site navigation bar
and insert it in content that was returned by simple CGI scripts.
I've used Apache::PerlRun in stacked handlers to run CGI scripts, like
PerlHandler
I'm writing handler which generate some html from files in requested
dir if requested file does not exist.
I have a problem with getting file list of the directory.
I've tried to use IO::Dir, like this
my htmls;
my $dh = new IO::Dir ($req_dir);
if (defined $dh)
{
while (defined($_
RK But this doesn't seem to be the problem ... What's printed in the
RK browser? Is there anything in the error logs? Is the name of the
RK directory to be read input from the user (if so, are you running
RK under taint mode?), and are the permissions appropriate?
Here is my module's code...
use
Thank you for your help!
I'm terribly sorry for getting your time, It's my fault.
There was an error in my code.
I'm inattentive foolish man.
But I've known new methods of reading directory listening.
Best regards.
___
Sorry for my English.
Hi!
Please point me to good documentation about subj.
Is it possible to initialize some class(MyProjConfig for example)
with some params in first content handler, and then send it trought
other handlers, all it within only one request?
Thank you beforehead.
MJJ Mitchel, Jennifer (Jem) wrote:
MJJ The machine does belong to my org my login does not have root access. I
will do the
MJJ /perl-status?hooks as soon as I can be let onto the machine with root access.
MJJ
MJJ I did print out the global hash %Apache::MyConfig::Setup and here is the
Hello, all!
May I understand in my handler sub how it was called?
Was it called by Apache process in stacked handlers chain or
it was called by some other module with call MyMod::handler($r)?
Could i do it without adding some special parametrs?
Beforehead thanks, Ruslan.
Hello All!
Short synopsis:
How to push handler just after handler that working now?
More about the problem.
I've got main handler, that forms stack of handlers from query string
by calling push_handlers(). Then each module doing his job. Some handlers
needs to put another hook just
SB Geoffrey Young wrote:
Ruslan U. Zakirov wrote:
Hello All!
Short synopsis:
How to push handler just after handler that working now?
More about the problem.
I've got main handler, that forms stack of handlers from query
string
by calling push_handlers(). Then each module
Hello All!
Stacked handlers is a very useful technology, but as I think incomplete.
I need some suggestions.
My project split content handler in the few parts. And each handler
send part of the requested page to user, but sometimes I must stop
proccessing and return DECLINE, redirect user
Hello All!
I need to test my project perfomance. Is there any OpenSource
projects like WebBench and other in the Internet?
Best regards. Ruslan.
Hello.
I've tried to use XML::XPath under mod_perl 1.27 and Apache 1.3.27, but
got segmentation fault with this peace of code:
use XML::XPath;
my $mfname='/proj/optolink/html/.meta.xml';
my $xp = XML::XPath-new(filename = $mfname);
my $ns = $xp-find('//[EMAIL PROTECTED]yes]');
Under
Hello.
I've tried to use XML::XPath under mod_perl 1.27 and Apache 1.3.27, but
got segmentation fault with this peace of code:
use XML::XPath;
my $mfname='/proj/optolink/html/.meta.xml';
my $xp = XML::XPath-new(filename = $mfname);
my $ns = $xp-find('//[EMAIL PROTECTED]yes]');
Hello, Ged and other.
Thanks for long suggestion letter. I've solved my problem with mod_perl
compiled staticaly.
GH Hi there,
GH Haven't seen any replies, so I thought you'd like to hear from someone. :)
Thanks...
GH On Wed, 2 Jul 2003, Ruslan U. Zakirov wrote:
I've tried to use XML
Barry Hoggard wrote:
I used to use HTML::Template for projects, but I moved to
Template::Toolkit because I felt the former's syntax was just too
limited. I know we want to separate code and logic, but H::T
keeps me
[skip]
JE Jesse Erlbaum
JE Programmer: Get object, Get object attribute
21 matches
Mail list logo