Apache HTTP Server Version 2.4
���� ����ġ�� Windows NT, 2000, XP������ ����, Windows 95�� ME������ �ܼ� ���α����� ����ȴ�. �ڼ��� ������ ���� ����ġ�� �����ϱ��� �ܼ� ���α����� ����ġ�� �����ϱ�.
������� httpd
���α��� ����忡�� ��� ��û�� ó���ϴ� ��������
����ȴ�. �� ������ httpd
�� �����ϴ� �����
�����Ѵ�.
�������Ͽ��� Listen
�� �⺻���� 80(Ȥ��
1024������ �ٸ� ��Ʈ)�̶�� �� Ư�� ��Ʈ�� �����ϱ�����
root ������ �ʿ��ϴ�. ������ �����Ͽ� �α������� ���� ����
��� �������� �۾��� ��ģ��, Ŭ���̾�Ʈ�� ��û�� ��ٸ���
�����ϴ� �ڽ�(child) ���μ����� ������ ����.
�� httpd
���μ����� ��� root ����ڷ� ���������,
�ڽ� ���μ������� �� ������ ���� ����ڷ� ����ȴ�. �̴�
������ ����ó�� ����� �����Ѵ�.
apachectl
��ũ��Ʈ�� ����Ͽ� httpd
���������� �����ϱ�
�����Ѵ�. �� ��ũ��Ʈ�� httpd
�� ���
�ü������ ���������� �����ϱ����� �ʿ��� ȯ�溯������
�����ϰ� httpd
���������� �����Ѵ�.
apachectl
�� ������ �ƱԸ�Ʈ�� �״�� �ѱ�����,
httpd
�� � �ɼ��̶� apachectl
��
��밡���ϴ�. ��, apachectl
��ũ��Ʈ�� �պκп�
������ HTTPD
������ httpd
����������
�ִ� ��ġ�� �� ����� ������ �ƱԸ�Ʈ�� ����
������ �� �ִ�.
httpd
�� �����ϸ� ���� �������� httpd.conf
��
ã�Ƽ� �д´�. �� ������ ��ġ�� ������ �߿� �����ϳ�, �����
������ ���� -f
������ �ɼ����� ������ ���� �ִ�.
/usr/local/apache2/bin/apachectl -f
/usr/local/apache2/conf/httpd.conf
�����ϴ� �������� ������ ���ٸ�, ������ �̳ο���
�������� ���� ������Ʈ�� ���� ��� �����Եȴ�. �̴� ������
������� �ǹ��Ѵ�. �������� ������ �����Ͽ� DocumentRoot
���丮�� �ִ�
��Ʈ �������� �� �������� ��ũ�� (����ī��) �������� ��
�� �ִ�.
����ġ�� �����ϴ� �����߿� �ɰ��� ������ ���ϸ�,
�����ϱ� ���� ������ �˸��� ������ �ܼ��̳� ErrorLog
�� ����. ���� ���� ������ ��
�ϳ��� "Unable to bind to Port ...
"�̴�.
�� ������ ���� ���� �� ��쿡 ���Ѵ�:
��Ÿ �����ذ� ����� ����ġ FAQ�� �����϶�.
�ý����� ������� �Ŀ��� ������ ��� ����DZ� �ٶ��ٸ�,
�ý��� ��������(���� rc.local
�̳� rc.N
���丮�� �ִ� ����)�� apachectl
�� �߰��ؾ�
�Ѵ�. �� ��� ����ġ�� root�� ���۵ȴ�. ������ ������ �����̳�
���� ����(���ϱ���)�� �ùٷ� �����Ǿ����� Ȯ���϶�.
apachectl
�� ǥ�� SysV init ��ũ��Ʈ�� ����ϰ�
�����ϵ��� ���������. ��ũ��Ʈ�� �ƱԸ�Ʈ�� start
,
restart
, stop
�� ������ ���� ������
�ñ׳��� httpd
�� ������. ���� ������
apachectl
�� ������ init ���丮�� ��ũ�� �ɸ�ȴ�.
���� ����ϴ� �ý����� ��Ȯ�� �䱸������ Ȯ���϶�.