mod_perl logo
perl icon







previous page: Apache::SubProcess -- Executing SubProcesses from mod_perlpage up: mod_perl APIsnext page: Apache::URI - Perl API for manipulating URIs


Apache::SubRequest - Perl API for Apache subrequests











Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams
Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet
The mod_perl Developer's Cookbook

The mod_perl Developer's Cookbook

By Geoffrey Young, Paul Lindner, Randy Kobes


Table of Contents

Synopsis

  use Apache::SubRequest ();

META: to be completed



TOP

Description

META: to be completed



TOP

API

Apache::SubRequest provides the following functions and/or methods:



TOP

DESTROY

META: Autogenerated - needs to be reviewed/completed

Free the memory associated with a sub request

  $r->DESTROY();


TOP

internal_fast_redirect

META: Autogenerated - needs to be reviewed/completed

Redirect the current request to a sub_req, merging the pools

  $r->internal_fast_redirect($sub_req);


TOP

internal_redirect

META: Autogenerated - needs to be reviewed/completed

Then there's the case that you want some other request to be served as the top-level request INSTEAD of what the client requested directly. If so, call this from a handler, and then immediately return OK.

Redirect the current request to some other uri

  $r->internal_redirect($new_uri);


TOP

internal_redirect_handler

META: Autogenerated - needs to be reviewed/completed

This function is designed for things like actions or CGI scripts, when using AddHandler, and you want to preserve the content type across an internal redirect.

  $r->internal_redirect_handler($new_uri);


TOP

lookup_dirent

META: Autogenerated - needs to be reviewed/completed

Create a sub request for the given apr_dir_read result. This sub request can be inspected to find information about the requested file

  $lr = $r->lookup_dirent($finfo, $subtype, $next_filter);


TOP

lookup_file

META: Autogenerated - needs to be reviewed/completed

Create a sub request for the given file. This sub request can be inspected to find information about the requested file

  $ret = $r->lookup_file($new_file, $next_filter);


TOP

lookup_uri

META: Autogenerated - needs to be reviewed/completed

Create a sub request from the given URI. This sub request can be inspected to find information about the requested URI.

  $ret = $r->lookup_uri($new_file, $next_filter);


TOP

lookup_method_uri

META: Autogenerated - needs to be reviewed/completed

Create a sub request for the given URI using a specific method. This sub request can be inspected to find information about the requested URI

  $ret = $r->lookup_method_uri($method, $new_file, $next_filter);


TOP

See Also

mod_perl 2.0 documentation.



TOP

Copyright

mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.



TOP

Authors

The mod_perl development team and numerous contributors.







TOP
previous page: Apache::SubProcess -- Executing SubProcesses from mod_perlpage up: mod_perl APIsnext page: Apache::URI - Perl API for manipulating URIs