08-06-2007
OK, thanks for the explanation
10 More Discussions You Might Find Interesting
1. IP Networking
I have found in the httpd.conf where it it states the default parse pages like index.htm, index.html, index.php and etc....However, my computer box does not seem to want to automatically load the index.php files. Anyone have any ideas? (5 Replies)
Discussion started by: macdonto
5 Replies
2. IP Networking
Have been asked to remove all images from being logged to the access_log ... where am I going wrong?<VirtualHost 123.456.789.99>
ServerName www.somedomain.com.au
DocumentRoot /agents/tts
Redirect /wap http://somewap.com.au/traveler
LogFormat "%v %h %l %u %t \"%r\" %>s %b" comonvhost... (2 Replies)
Discussion started by: Cameron
2 Replies
3. 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
4. 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
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. 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
7. 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
8. Shell Programming and Scripting
Hello Guys !!
wanted to use SED to pull cout the full vertualhost entry for domain which is specified from command line
Like (IP base httpd.conf)
domain="ServerName takemewithyou.in"
sed -n '/<VirtualHost* $domain/,/<\/VirtualHost>/p' httpd.conf
File can take to test is below
... (0 Replies)
Discussion started by: SilvesterJ
0 Replies
9. 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
10. Red Hat
hi
is it possible ?
explain tome about below items
StartServers 8
MinSpareServers 10
MaxSpareServers 20
ServerLimit 4000
MaxClients 4000
MaxRequestsPerChild 4000
this is my servers 8gig ram & cpu 12 core...
what cann i putting in order this ?
tnx (1 Reply)
Discussion started by: mnnn
1 Replies
LEARN ABOUT DEBIAN
explain_setsid_or_die
explain_setsid_or_die(3) Library Functions Manual explain_setsid_or_die(3)
NAME
explain_setsid_or_die - sets process group ID and report errors
SYNOPSIS
#include <libexplain/setsid.h>
pid_t explain_setsid_or_die(void);
pid_t explain_setsid_on_error(void);
DESCRIPTION
The explain_setsid_or_die function is used to call the setsid(2) system call. On failure an explanation will be printed to stderr, obtained
from the explain_setsid(3) function, and then the process terminates by calling exit(EXIT_FAILURE).
The explain_setsid_on_error function is used to call the setsid(2) system call. On failure an explanation will be printed to stderr,
obtained from the explain_setsid(3) function, but still returns to the caller.
RETURN VALUE
The explain_setsid_or_die function only returns on success, see setsid(2) for more information. On failure, prints an explanation and
exits, it does not return.
The explain_setsid_on_error function always returns the value return by the wrapped setsid(2) system call.
EXAMPLE
The explain_setsid_or_die function is intended to be used in a fashion similar to the following example:
explain_setsid_or_die();
SEE ALSO
setsid(2)
creates a session and sets the process group ID
explain_setsid(3)
explain setsid(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2011 Peter Miller
explain_setsid_or_die(3)