|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
No.root process opens port 80, but never listens to it, so no user will actually enter the site with root rights. If
you kill the root process, you will see the other sub-process disappear as well.
Create Date
:
Tuesday, March 18, 2008
Click here
to improve the Interview Question, Answer and other fields.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
service httpd stop -- works fine, if you have added apache as one of the service in your config.
apachectl stop -- use this if you want to stop apache through apache's way.
Create Date
:
Tuesday, March 18, 2008
Click here
to improve the Interview Question, Answer and other fields.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)

Gracefully restarts the Apache httpd daemon. If the daemon is not running, it is started. This differs from a
normal restart in that currently open connections are not aborted. A side effect is that old log files will not
be closed immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log files are closed before processing them. This command automatically checks
the configuration files as in configtest before initiating the restart to make sure Apache doesn?t die.
This is equivalent to apachectl -k graceful.
( excerpt from manual page of apachectl )
Actually it sends a SIGUSR1 for a restart. The USR1 or graceful signal causes the parent process to advise the children to exit after their current request (or to exit immediately if they're not serving anything). The parent
re-reads its configuration files and re-opens its log files.As each child dies off the parent replaces it with a child
from the new generation of the configuration, which begins serving new requests immediately.
Create Date
:
Tuesday, March 18, 2008
Click here
to improve the Interview Question, Answer and other fields.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
--> apachectl configtest
OR
--> apachectl -t
OR
--> /etc/init.d/httpd configtest
Create Date
:
Tuesday, March 18, 2008
Click here
to improve the Interview Question, Answer and other fields.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
<VirtualHost www.test.com>
ServerAdmin admin@test.com
DocumentRoot /home/apache/share/htdocs/hostedsites
ServerName www.test.com
ErrorLog /home/apache/logs/error/hostedsites/error_log
TransferLog /home/apache/logs/access/hostedsites/access_log
</VirtualHost>
Create Date
:
Tuesday, March 18, 2008
Click here
to improve the Interview Question, Answer and other fields.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
It defines whether Apache should spawn itself as a child process (standalone) or keep everything in a single process (inetd). Keeping it inetd conserves resources. This is deprecated, however.
Create Date
:
Wednesday, March 19, 2008
Click here
to improve the Interview Question, Answer and other fields.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
This module creates dynamically configured virtual hosts, by allowing the IP address and/or the Host: header of the HTTP request to be used as part of the pathname to determine what files to serve. This allows for easy use of a huge number of virtual hosts with similar configurations.
Create Date
:
Wednesday, March 19, 2008
Click here
to improve the Interview Question, Answer and other fields.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of HTTP users. If htpasswd cannot access a file, such as not being able to write to the output file or not being able to read the file in order to update it, it returns an error status and makes no changes.
Create Date
:
Wednesday, March 19, 2008
Click here
to improve the Interview Question, Answer and other fields.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
In case of ambiguity deny always takes precedence over allow.
Create Date
:
Wednesday, March 19, 2008
Click here
to improve the Interview Question, Answer and other fields.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
Apache Web Server package does not include ASP support.
However, a number of projects provide ASP or ASP-like functionality for Apache. Some of these are:
--> Apache::ASP
--> mod_mono
--> Chilisoft ASP
Create Date
:
Wednesday, March 19, 2008
Click here
to improve the Interview Question, Answer and other fields.