Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

apache::testhandler(3pm) [debian man page]

Apache::TestHandler(3pm)				User Contributed Perl Documentation				  Apache::TestHandler(3pm)

NAME
Apache::TestHandler - a few response handlers and helpers SYNOPSIS
package My::Test; use Apache::TestHandler (); sub handler { my ($r) = @_; my $result = do_my_test; Apache::TestHandler::ok1 $r, $result; } sub handler2 { my ($r) = @_; my $result = do_my_test; Apache::TestHandler::ok $r, $result; } DESCRIPTION
"Apache::TestHandler" provides 2 very simple response handler. FUNCTIONS
ok $r, $boolean The handler simply prints out "ok" or "not ok" depending on the optional $boolean parameter. If $boolean is omitted "true" is assumed. ok1 $r, $boolean This handler implements a simple response-only test. It can be used on its own to check if for a certain URI the response phase is reached. Or it can be called like a normal function to print out the test result. The client side is automatically created as described in <http://perl.apache.org/docs/general/testing/testing.html#Developing_Response_only_Part_of_a_Test>. $boolean is optional. If omitted "true" is assumed. same_interp_counter same_interp_fixup TODO SEE ALSO
The Apache-Test tutorial: <http://perl.apache.org/docs/general/testing/testing.html>. Apache::Test. AUTHOR
Doug MacEachern, Geoffrey Young, Stas Bekman, Torsten Foertsch and others. Questions can be asked at the test-dev <at> httpd.apache.org list For more information see: http://httpd.apache.org/test/. perl v5.14.2 2011-04-19 Apache::TestHandler(3pm)

Check Out this Related Man Page

Apache::TestHandler(3)					User Contributed Perl Documentation				    Apache::TestHandler(3)

NAME
Apache::TestHandler - a few response handlers and helpers SYNOPSIS
package My::Test; use Apache::TestHandler (); sub handler { my ($r) = @_; my $result = do_my_test; Apache::TestHandler::ok1 $r, $result; } sub handler2 { my ($r) = @_; my $result = do_my_test; Apache::TestHandler::ok $r, $result; } DESCRIPTION
"Apache::TestHandler" provides 2 very simple response handler. FUNCTIONS
ok $r, $boolean The handler simply prints out "ok" or "not ok" depending on the optional $boolean parameter. If $boolean is omitted "true" is assumed. ok1 $r, $boolean This handler implements a simple response-only test. It can be used on its own to check if for a certain URI the response phase is reached. Or it can be called like a normal function to print out the test result. The client side is automatically created as described in <http://perl.apache.org/docs/general/testing/testing.html#Developing_Response_only_Part_of_a_Test>. $boolean is optional. If omitted "true" is assumed. same_interp_counter same_interp_fixup TODO SEE ALSO
The Apache-Test tutorial: <http://perl.apache.org/docs/general/testing/testing.html>. Apache::Test. AUTHOR
Doug MacEachern, Geoffrey Young, Stas Bekman, Torsten Foertsch and others. Questions can be asked at the test-dev <at> httpd.apache.org list For more information see: http://httpd.apache.org/test/. perl v5.18.2 2015-06-18 Apache::TestHandler(3)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

403 Error in Apache?

I have installed Apache lots of times before. I have recently installed apache on FreeBSD. And it gives me all the time 403 Frobidden - you don't have permittion to access / directory. I have checked permitions. I've got -rwxrwxr-x for for all Apache DocumentRoot. I've checked Files directive in... (6 Replies)
Discussion started by: solvman
6 Replies

2. HP-UX

to execute the command swlist

I tried executing the following command to check the version of Apache installed byfusp01 $ swlist | grep -i apache ksh: swlist: not found Do I need root permission to execute this command? how about lvdisplay / pvdisplay? Please help me. Thanks (6 Replies)
Discussion started by: vivek_damodaran
6 Replies

3. UNIX for Dummies Questions & Answers

moving apache part 2

Hi everybody..... please help me in moving apache 2.2 over to another server remotely............. still having problems thank you (12 Replies)
Discussion started by: marinob007
12 Replies

4. UNIX for Dummies Questions & Answers

Apache 2.2 problem

Hi all, I'm a user of Debian 4.0. I installed apache 2.2 and add the functionality to support ~/public_html for each user. This is the permission of my public_html: drwxr-xr-x 4 mj test 4096 2007-12-20 20:17 public_html When I wanted to go through it and list the directory via my browser,... (6 Replies)
Discussion started by: mjdousti
6 Replies

5. Solaris

Apache config issue

I want to build a little website on a Sun Blade 100 running Solaris 10. I just went out to apache.org and downloaded Unix Source: httpd-2.2.8.tar.gz After unpacking the tarball, I CD'd into the subdirectory and ran the configure utility. Of course, it crapped out. I see that it is... (17 Replies)
Discussion started by: BrewDudeBob
17 Replies

6. Solaris

Apache start issue

Hi group, I need help to start apache in following scenario: 1) Say apache is installed on solaris OS by user 'root'. 2) An entry is there in httpd.conf that says to start apache process as user: #User <RUN_AS_USER> is edited as User user1 2) Now say user2 has logged and tries to start... (6 Replies)
Discussion started by: rs266
6 Replies

7. Shell Programming and Scripting

apache threshold

Hi folks, how can i check apache threshold values via shell scripting and what factors need to check via shell scripting process or number of users or what. pls do advice me. Thanks, Bash (9 Replies)
Discussion started by: learnbash
9 Replies

8. Ubuntu

Apache 2.2 on Ubuntu 8.10

Hello, Does anyone know or know how to check if the Apache 2.2 version you can get with the Synaptic Package manager in Ubuntu 8.10has been optimized for 486 or higher processors? I would think one would have to optimize the executable for 486 or higher processer baed on the Apache... (8 Replies)
Discussion started by: mojoman
8 Replies

9. UNIX for Advanced & Expert Users

Exit Status 126 - how to get rid of it

Hi All, I have a small application hosted on apache-tomcat 5. Basically its a html page which in turn calls a perl script residing on unix server. Through this perl script i am calling a shell script using system command , like system('scriptname.sh',arg1,arg2,arg3); Now in the script... (5 Replies)
Discussion started by: glamo_2312
5 Replies

10. UNIX for Dummies Questions & Answers

Help needed to install Apache Tomcat

I want to setup apache tomcat on my linux distribution . I Have downloaded apache tomcat from below mentioned link. Administration Web Application: Apache Tomcat - Apache Tomcat 5 Downloads The setup was in following format. apache-tomcat-5.5.29-admin.tar.gz Below are the command i... (7 Replies)
Discussion started by: pinga123
7 Replies

11. Red Hat

Apache - max clients reached issue

Hi, I have a web application (using apache) and for the past 2 months I am getting the below error in my production environment. I want to re-produce the same issue in my non-production environment, could you please let me what all are the parameters I have to modify in order to do that. Also I... (10 Replies)
Discussion started by: senor.ram
10 Replies

12. Shell Programming and Scripting

Identifier issue

Hi, We are in the process of migrating our servers from Solaris to AIX. During our testing phase, while we are testing the scripts(reccnt.int), we are getting the following error during execution: /reccnt.int: a:fname:b:dte:tme:eqind:norecs:cntr:c:d:e:f: is not an identifier It is... (6 Replies)
Discussion started by: pyaranoid
6 Replies

13. UNIX for Dummies Questions & Answers

Apache Install

My current apache has the following listing. ls admin bin cgi corefiles htdocs include logs manual openssl build conf error icons lib man modules It has httpd.conf inside the conf directory and many .so files... (6 Replies)
Discussion started by: mohtashims
6 Replies

14. Programming

Image not displaying through apache

I am running a html script through apache server on fedora using XAMPP 1.7.7. The apache version is 2.0 When I am trying to run a html page having an image through apache, its not displaying the image. What can be the reason? (7 Replies)
Discussion started by: amisubha
7 Replies

15. Red Hat

Apache chown on its files not working

Hello, My apache user generate one file : # ls -lsa /tmp/reference_file.csv 76 -rwxrwxrwx 1 apache apache 69921 Aug 16 14:14 tmp/reference_file.csv the user and the group belong to apache, but when i am trying to change it : su -l apache -s /bin/bash -bash-3.00$ whoami apache... (7 Replies)
Discussion started by: cterra
7 Replies