9 More Discussions You Might Find Interesting
1. Red Hat
Hi
I am exactly according to this link
CentOS 6 - Apache httpd - Enable Userdir : Server World
I Enabled userDirectory
Server version: Apache/2.2.15
CentOS release 6.8 (Final)
But Iget this Error
Forbidden
You don't have permission to access /~mn/index.html on this server
Goal... (2 Replies)
Discussion started by: mnnn
2 Replies
2. Programming
Hi. I am looking for a way to write C++ code that will kill a process, and works just the same way in both Unix and Windows. For my particular situation, it cannot be hundreds of lines of code, either. Thanks in advance for any light you can shed on this.
Brandon (5 Replies)
Discussion started by: BrandonShw
5 Replies
3. Linux
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Discussion started by: engineeringme
1 Replies
4. Programming
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (0 Replies)
Discussion started by: engineeringme
0 Replies
5. Linux
What I have been doing for some time now is installing linux on my tech machine at work, plugging in devices and transferring data with dd_rescue.
What I need now is a version of linux that I can install on a laptop sata hard drive and be able to plug it into any machine to transfer data off of... (1 Reply)
Discussion started by: Methal
1 Replies
6. UNIX and Linux Applications
Hey guys/gals,
I work with a large amount of servers, and was just curious if it is possible to make a linux AV app, portable. What i mean is, I go to a user's home directory and do something like ./clamavscan (I suppose an alias for clamscan..), and it scans the user's home directory for... (2 Replies)
Discussion started by: Rhije
2 Replies
7. Shell Programming and Scripting
Dear Experts,
I want to write a script which has to work on Solaris & Linux sytems.
The problem which i am facing is, there are commands whose options are different on both OS's. For example ping.
On Solaris i have to write:
ping $host 1
to check if the host is alive
On Linux i... (4 Replies)
Discussion started by: dhiraj4mann
4 Replies
8. Shell Programming and Scripting
For historical, simple, practical and portable reasons my scripts start normally with "#!/bin/sh", hence I restrict myself to those features available in the Bourne Shell.
The few cases where I would use ksh or bash is if I know this script is targetted at some subset of platforms where that is... (0 Replies)
Discussion started by: porter
0 Replies
9. Programming
Hi
I am new to APR and I started programming using APR 1.2.2.
So please guide me how to start learning it? (0 Replies)
Discussion started by: sumsin
0 Replies
libapache2-mod-perl2-2.0.7::docs::api::APR::BucketAlloc(User Contributed Perl Documentlibapache2-mod-perl2-2.0.7::docs::api::APR::BucketAlloc(3pm)
NAME
APR::BucketAlloc - Perl API for Bucket Allocation
Synopsis
use APR::BucketAlloc ();
$ba = APR::BucketAlloc->new($pool);
$ba->destroy;
Description
"APR::BucketAlloc" is used for bucket allocation.
"new"
Create an "APR::BucketAlloc" object:
$ba = APR::BucketAlloc->new($pool);
class: "APR::BucketAlloc"
arg1: $pool ( "APR::Pool object" )
The pool used to create this object.
ret: $ba ( "APR::BucketAlloc object" )
The new object.
since: 2.0.00
This bucket allocation list (freelist) is used to create new buckets (via "APR::Bucket->new") and bucket brigades (via
"APR::Brigade->new").
You only need to use this method if you aren't running under httpd. If you are running under mod_perl, you already have a bucket
allocation available via "$c->bucket_alloc" and "$bb->bucket_alloc".
Example:
use APR::BucketAlloc ();
use APR::Pool ();
my $ba = APR::BucketAlloc->(APR::Pool->pool);
my $eos_b = APR::Bucket::eos_create($ba);
"destroy"
Destroy an "APR::BucketAlloc object":
$ba->destroy;
arg1: $ba ( "APR::BucketAlloc object" )
The freelist to destroy.
ret: no return value
since: 2.0.00
Once destroyed this object may not be used again.
You need to destroy $ba only if you have created it via "APR::BucketAlloc->new". If you try to destroy an allocation not created by this
method, you will get a segmentation fault.
Moreover normally it is not necessary to destroy allocators, since the pool which created them will destroy them during that pool's cleanup
phase.
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::BucketAlloc(3pm)