Apache2(3pm) User Contributed Perl Documentation Apache2(3pm)NAME
APR::Request::Apache2 - wrapper for a mod_apreq2 handle.
SYNOPSIS
use APR::Request::Apache2;
my $req = APR::Request::Apache2->handle($r);
DESCRIPTION
The APR::Request::Apache2 module provides a constructor for interfacing with the mod_apreq2 Apache module.
This manpage documents version 2.13 of the APR::Request::Apache2 package.
METHODS
APR::Request::Apache2 - derived from "APR::Request".
handle
APR::Request::Apache2->handle($r)
Creates an APR::Request::Apache2 object. The argument $r is an Apache2::RequestRec object (from mod_perl2).
SEE ALSO
APR::Request, Apache2::RequestRec.
COPYRIGHT
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
perl v5.10.1 2011-02-28 Apache2(3pm)
Check Out this Related Man Page
libapache2-mod-perl2-2.0.7::docs::api::APR::OS(3pm) User Contributed Perl Documentation libapache2-mod-perl2-2.0.7::docs::api::APR::OS(3pm)NAME
APR::OS - Perl API for Platform-specific APR API
Synopsis
use APR::OS ();
# get current thread id
my $tid = APR::OS::current_thread_id();
Description
"APR::OS" provides the Perl interface to platform-specific APR API.
You should be extremely careful when relying on any of the API provided by this module, since they are no portable. So if you use those you
application will be non-portable as well.
API
"APR::OS" provides the following methods:
"current_thread_id"
Get the current thread ID
$tid = APR::OS::current_thread_id();
ret: $tid ( integer )
under threaded MPMs returns the current thread ID, otherwise 0.
since: 2.0.00
Example:
use Apache2::MPM ();
use APR::OS ();
if (Apache2::MPM->is_threaded) {
my $tid_obj = APR::OS::current_thread_id();
print "TID: $tid";
}
else {
print "PID: $$";
}
See Also
mod_perl 2.0 documentation.
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
Authors
The mod_perl development team and numerous contributors.
perl v5.14.2 2011-02-08 libapache2-mod-perl2-2.0.7::docs::api::APR::OS(3pm)
I am new to UNIX and I am trying to write a shell script. I want to be able to list all files that were created with yesterdays dates (APR 29 as an example) that are not 0 file size.Then in those files I want to look for the string 'Process Complete' and list all files that DONT have that string.... (8 Replies)
my desired output is like this:
so the thing is, I only need to show every of this part out
but the frequency of that data is not fixed, so sometimes it may have 4 lines, or 6 lines or whatever in that file. However, the last line will always have empty space/line below it. (13 Replies)
I installed the smc and now I'm getting the below error when i try to access it via web.
Apache Tomcat/4.0.5 - HTTP Status 404 - /smconsole.jnlp
The service Apache2 is in maintenance mode and I can't get it online. Can someone help with this please?
Thanks. (5 Replies)
Hello all. I have a Solaris 10/Sun Ultra10 box and I am trying to build a SAMP server.
The MySQL portion is working and Apache2 seems to be working. However after installing PHP5 I get the following error:
# ./apachectl start
httpd: Syntax error on line 115 of... (11 Replies)
Hello,
Kindly find attached a copy of the Zabbix template and PERL script we are using to monitor our Apache2 server.
Here are the entries for zabbix_agentd.conf
UserParameter=apache2.total_accesses,/etc/zabbix/zabbix_apache2.pl|cut -f1 -d":"... (4 Replies)
Hello All,
I have a Virtual Machine that I basically use for just testing stuff on. It is running SLES 11.1 and Apache2.
I was able to get Apache2 set-up and working... I was able to insert a basic index.html page (i.e. a simple "Hello World" html page)
just to check and make sure I can... (4 Replies)
Hello,
I am trying to understand the basic of Apache when I met problem each time I restart apache.
How to solve the problem when I need put a second ScriptAlias line in my "/etc/apache2/sites-enabled/000-default" file:
16 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
17 <Directory... (6 Replies)
Hi,
I have following input and want to change it to following output
INPUT
01-APR-14,KB,822714
01-APR-14,MB,8133431
02-APR-14,KB,757140
02-APR-14,MB,7770368
03-APR-14,KB,815427
03-APR-14,MB,7590511
04-APR-14,MB,7529895
04-APR-14,KB,779561
05-APR-14,MB,8151537
05-APR-14,KB,809675
... (6 Replies)
Dear community,
my site was recently attacjed by DDOS technique and goes down in a few minutes. My site runs under Debian/Apache2/Mysql.
I identified the IPs who attack me and block it through iptable firewall from debian.
Something like:
iptables -D INPUT -s xxx.xxx.xxx.xxx -j DROP
This... (7 Replies)
hi there,
need some improvement on this. thanks.
Purpose is to :
Generally identify illegal accesses in the Apache2 logs, like, System commands, SHELL hacks, malwares, bots, and other hacking attempts. Most of these have a common background of gaining access to the weak parts of the www... (6 Replies)
Please consider adding an Anti 996 License to jointly oppose overtime work around the world.
A "996" work schedule refers to an unofficial work schedule (9a.m. ~ 9p.m., 6 days a week) that has been gaining in popularity. Serving a company that encourages the "996" work schedule usually means... (9 Replies)