Hi all!
I've got big problems while installing Apache 2.0 on my HPUX 11 machine.
I have configured the installation script with "./configure --prefix=/opt/apache" and run "make". All things looking good. But when i execute "make install" i have two errors, first:
and second
and the... (1 Reply)
Hello.....
I installed netscape 4.0 for HPUX-11 but i don`t know to configure that ,
Maybe samone know how i can gate
the procedure to installing NETSCAPE for HPUX-11 for user or server.
Thank you in advance !!!! (3 Replies)
I have installed sunsolaris 10 in sparc machine.In that how to run apache
bydefault apache is installed on /etc file.
I have logged in as a root
changed the directory to cd /etc/apache2/
from there i have copied httpd.conf-example to httpd.conf
#cp httpd.conf-example httpd.conf
after... (6 Replies)
I am having issues the below issues:-
As per the documents Preinstallation Tasks
I have linked the following files :-
# cd /usr/lib
# ln -s libX11.3 libX11.sl
# ln -s libXIE.2 libXIE.sl
# ln -s libXext.3 libXext.sl
# ln -s libXhp11.3 libXhp11.sl
# ln -s libXi.3 libXi.sl
# ln -s... (0 Replies)
I'm having issues getting apache to respond to requests outside of my local LAN. If I goto my server URL (www .poillion. com) it says connecting... but never finishes and returns anything.
I'm using Ubuntu Server 10.10.
a) The DNS is working fine. It's pointed to my cable modem's IP and... (1 Reply)
Need assistance in getting apache installation troubleshooting..
- Compiled source code of apache webserver , Installed and configured apache,
- started apache web server with no errors.
- web browser doesnt open any pages . say "Page cannot be displayed". Need troubleshooting .
- When i... (12 Replies)
Discussion started by: ajayram_arya
12 Replies
LEARN ABOUT REDHAT
apache::serverutil
SERVERUTIL(1) User Contributed Perl Documentation SERVERUTIL(1)NAME
Apache::ServerUtil -- Methods for work with Apache::Server object
SYNOPSIS
use Apache::ServerUtil;
$s = Apache->server;
my $srv_cfg = $s->dir_config;
# get 'conf/' dir path using $r
my $conf_dir = Apache::server_root_relative('conf', $r->pool);
# get 'log/' dir path using default server startup pool
my $log_dir = Apache::server_root_relative('log');
DESCRIPTION
"Apache::ServerUtil" provides the Perl API for Apache server object.
META: complete
API
Function arguments (if any) and return values are shown in the function's synopsis.
CONSTANTS
o server_root
returns the value set by the "ServerRoot" directive.
FUNCTIONS
o server_root_relative()
Returns the canonical form of the filename made absolute to "ServerRoot":
Apache::server_root_relative($pool, $fname);
$fname is appended to the value of "ServerRoot" and return it. e.g.:
my $log_dir = Apache::server_root_relative($r->pool, 'logs');
If $fname is not specified, the value of "ServerRoot" is returned with a trailing "/". (it's the same as using '' as $fname's value).
Also see the "server_root" constant.
METHODS
o server()
The main server's object can be retrieved with:
$s = Apache->server;
Gets the "Apache::Server" object for the main server.
o dir_config()
dir_config() provides an interface for the per-server variables specified by the "PerlSetVar" and "PerlAddVar" directives, and also can
be manipulated via the "APR::Table" methods.
The keys are case-insensitive.
$t = $s->dir_config();
dir_config() called in a scalar context without the $key argument returns a HASH reference blessed into the APR::Table class. This
object can be manipulated via the APR::Table methods. For available methods see APR::Table.
@values = $s->dir_config($key);
If the $key argument is passed in the list context a list of all matching values will be returned. This method is ineffective for big
tables, as it does a linear search of the table. Thefore avoid using this way of calling dir_config() unless you know that there could
be more than one value for the wanted key and all the values are wanted.
$value = $s->dir_config($key);
If the $key argument is passed in the scalar context only a single value will be returned. Since the table preserves the insertion
order, if there is more than one value for the same key, the oldest value assosiated with the desired key is returned. Calling in the
scalar context is also much faster, as it'll stop searching the table as soon as the first match happens.
$s->dir_config($key => $val);
If the $key and the $val arguments are used, the set() operation will happen: all existing values associated with the key $key (and the
key itself) will be deleted and $value will be placed instead.
$s->dir_config($key => undef);
If $val is undef the unset() operation will happen: all existing values associated with the key $key (and the key itself) will be
deleted.
o push_handlers()
o add_handlers()
o get_handlers()
perl v5.8.0 2002-05-19 SERVERUTIL(1)