Apache HTTP Server Version 2.0

This document refers to the 2.0 version of Apache httpd, which is no longer maintained. Upgrade, and refer to the current version of httpd instead, documented at:
You may follow this link to go to the current version of this document.
| ����: | "������ ������" �����̷����� �����ϰ� ���丮 index ������ �����Ѵ� |
|---|---|
| ����: | Base |
| ����: | dir_module |
| �ҽ�����: | mod_dir.c |
���丮�� index�� ���� ���� �Ѱ��� ������� �����ȴ�:
index.html�̶��
����. DirectoryIndex
���þ�� �� ������ �̸��� �����Ѵ�. mod_dir��
�� ���þ �����Ѵ�.mod_autoindex��
�� ����� �����Ѵ�.�� ����� ���� ������ ���Ѵٸ� �ڵ� index ������ ������ ���� (Ȥ�� ��ü��) �� �ִ�.
dirname�� ���丮��� ������ URL
http://servername/foo/dirname ��û�� ������
"������ ������" �����̷����� ������. ���丮���� ������
�������� �ʿ��ϴ�. ���� mod_dir��
http://servername/foo/dirname/�� �����̷�����
������.
| ����: | Ŭ���̾�Ʈ�� ���丮�� ��û�Ҷ� ã�ƺ� �ڿ� ��� |
|---|---|
| ����: | DirectoryIndex
local-url [local-url] ... |
| �⺻��: | DirectoryIndex index.html |
| ������: | �ּ�������, ����ȣ��Ʈ, directory, .htaccess |
| Override �ɼ�: | Indexes |
| ����: | Base |
| ���: | mod_dir |
DirectoryIndex ���þ�� Ŭ���̾�Ʈ��
���丮�� ���� /�� �ٿ��� ���丮�� index�� ��û�Ҷ� ã�ƺ�
�ڿ� ����� �����Ѵ�. Local-url�� ��û�� ���丮��
������� ������ (%�� ���ڵ���) URL�̴�. ������ ���丮��
�ִ� ���ϸ��̴�. ���� URL�� ������ �� �ְ�, �� ��� ������
ù��°�� ã�� ������ ������. �ڿ��� ã�� �� ����
Indexes �ɼ��� �����Ͽ��ٸ� ������ ���� ���丮
����� �����.
DirectoryIndex index.html
�� ��� http://myserver/docs/�� ��û�Ҷ�
http://myserver/docs/index.html�� ������ �̸�
������, ���ٸ� ���丮 ����� ������.
������ �ݵ�� ���丮�� ������� �ʿ�� ����.
DirectoryIndex index.html index.txt /cgi-bin/index.pl
�� ��� ���丮�� index.html�̳�
index.txt�� ������ CGI ��ũ��Ʈ
/cgi-bin/index.pl�� �����Ѵ�.
| ����: | ������ ������ �����̷����� Ű�� ���� |
|---|---|
| ����: | DirectorySlash On|Off |
| �⺻��: | DirectorySlash On |
| ������: | �ּ�������, ����ȣ��Ʈ, directory, .htaccess |
| Override �ɼ�: | Indexes |
| ����: | Base |
| ���: | mod_dir |
| ����: | ����ġ 2.0.51 ���ĺ��� |
DirectorySlash ���þ��
mod_dir�� ���丮�� ����Ű�� URL�� ��������
���θ� �����Ѵ�.
����ڰ� ������ ���������� ���丮�� �ش��ϴ� �ڿ���
��û�ϸ�, mod_dir�� ���� ������ ���� ������
����ڸ� ������ �������� ���� ������ �ڿ�����
�����̷����Ѵ�.
mod_autoindex�� �ùٷ� �����Ѵ�. ��
����� ���ٸ� �� ����� ��ũ�� �߸��� ��θ� ���� �ȴ�.DirectoryIndex��
������ �������� �ִ� ���丮 ��û���� ó���Ѵ�.���� �� ����� ������ �ʰ��� ���� �� ������ ��ſ��� �˸��� �ʴٸ� ������ ���� �����̷����� ���� ���� �� �ִ�.
# �Ʒ� ���� ��� ����!
<Location /some/path>
DirectorySlash Off
SetHandler some-handler
</Location>
������ ������ �����̷����� ���� ������ ����� �� �ִ�.
(Options +Indexes) mod_autoindex��
����ϰ� DirectoryIndex��
(index.html ����) ��ȿ�� �ڿ����� �����Ͽ�����
�ش� URL�� �ٸ� Ư���� �ڵ鷯�� ���� ��Ȳ�� ����غ���.
�� ��� ������ �������� �ִ� ��û�� index.html
������ �����ش�. ���� ������ �������� ���� ��û��
���丮 ������ �����ش�.