9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
Newbie here.
I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies
2. Shell Programming and Scripting
I want to search for a block of text in httpd.conf that between two strings and comment it. There are multiple blocks with "<Directory.. and </Directory>"
<Directory "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/htdocs">
#
# Possible values for the Options directive are... (3 Replies)
Discussion started by: kchinnam
3 Replies
3. UNIX for Dummies Questions & Answers
What is the command to see what httpd.conf file is apache using. Apache is started. (1 Reply)
Discussion started by: galford
1 Replies
4. Red Hat
Hi, I was wondering if someone could help me out here. I am super-paranoid, so am trying to limit what PHP files can be executed on this server. I have a small list of files that I want to allow. The rest, deny:
<Files ~ "\.(php|php3)$">
order allow,deny
deny from all
</Files>
I... (0 Replies)
Discussion started by: Lobster
0 Replies
5. Red Hat
Hi, I was wondering if someone could help me out here. I am super-paranoid, so am trying to limit what PHP files can be executed on this server. I have a small list of files that I want to allow. The rest, deny. So I have base rule that denies all php files server-wide: order allow,deny ... (0 Replies)
Discussion started by: Lobster
0 Replies
6. Web Development
I'd like to know if servername in apache httpd.conf is the machine name or domain name. If it is domain name like example.com, should it be registered before in use? (1 Reply)
Discussion started by: yzhang738
1 Replies
7. Shell Programming and Scripting
i need help on redirecting apache conf file
i want redirect everything to www.example.com/home
example if i type a url
www.example.com/home/text1
i need that redirected to www.example.com/home (0 Replies)
Discussion started by: shehzad_m
0 Replies
8. Ubuntu
Hi everybody,
I have installed Apache 2 + Tomcat 5.5. on Ubuntu 7.04 and the default httpd.conf is empty (0 lines), however there is a file called apache2.conf that looks like a default httpd.conf.
I didn't use Apache in ages, since 1.3.x release, but I remember that the httpd.conf by default... (2 Replies)
Discussion started by: sspirito
2 Replies
9. UNIX for Dummies Questions & Answers
I have just configured httpd.conf on a new Redhat 9 install. Below are my additions to httpd.conf. Everything works fine except that when typing http://spetnik.d2g.com into my web browser, I am sent to the "Default catch all" site. Any clues?
NameVirtualHost *:80
#Default catch all ... (5 Replies)
Discussion started by: Spetnik
5 Replies
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.16.2 2011-04-19 Apache::TestHandler(3)