<-
Apache > HTTP Server > Documentation > Version 2.4

��������

������ ���:  de  |  en  |  fr  |  ja  |  ko  |  tr 

�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ������ ���� ������ �����ϼ���.

�� ������ ����ġ �������� �����ϴ� ���ϵ��� �����Ѵ�.

Support Apache!

����

top

�ּ�������

�Ϲ� ���� ������ �������Ͽ� ���þ��� ����Ͽ� ����ġ�� �����Ѵ�. �ּ��������� ���� apache2.conf��� �θ���. �� ������ ��ġ�� �����Ͻ� ��������, -f ������ �ɼ����� �������� �� �ִ�. �� �ٸ� ���������� Include ���þ ����Ͽ� ������ �� �ְ�, ���ϵ�ī�带 ����Ͽ� ���� ���������� ������ ���� �ִ�. �� ��� ���þ � �������Ͽ��� ����ص� �ȴ�. �ּ��������� �����ϸ� ����ġ�� �����ϰų� ������� ���Ŀ� �ݿ��ȴ�.

������ mime ����Ÿ���� ���� ���ϵ� �д´�. ���ϸ��� TypesConfig ���þ�� �����ϰ�, �⺻���� mime.types�̴�.

top

�������� ����

����ġ ���������� ���ٿ� �� ���þ ����Ѵ�. �� ������ ���ڰ� �齽���� "\"�̸� ���þ ���� �ٿ��� ��ӵ��� ���Ѵ�. �� ��� �齽���� �ڿ� � ���ڳ� ���鵵 ������ �ȵȴ�.

���������� ���þ�� ��ҹ��ڸ� �������� ������, ���þ��� �ƱԸ�Ʈ�� ��ҹ��ڸ� �����ϴ� ��찡 �ִ�. �ؽ����� "#"�� �����ϴ� ���� �ּ����� �����Ѵ�. �ּ��� ���� ���þ�� ���� �ٿ� ����� �� ����. ���ٰ� ���þ� �տ� ������ ������ �����ϹǷ�, �����ϰ� ���̵��� ���þ �ٵ�����(indent) �� �ִ�.

apache2ctl configtest�� -t ������ �ɼ��� ����Ͽ� ����ġ�� �������� �ʰ��� ���������� ���� ������ �˻��� �� �ִ�.

top

���

����ġ�� ���ȭ�� ������. �̴� �ſ� �⺻���� ��ɸ��� ���� �ٽɿ� ���Ե������� ���Ѵ�. ����ġ�� ����� �о�鿩�� ����� Ȯ���Ѵ�. �⺻������ �������ϸ� ������ base ������ ���Եȴ�. ������ �������� �о���̴� ����� ����� �� �ְ� �������Ͽ��ٸ� ����� ���� �������Ͽ� �ƹ����� LoadModule ���þ�� �߰��� �� �ִ�. �׷��� ������ ����� �߰��ϰų� �������� ����ġ�� �ٽ� �������ؾ� �Ѵ�. ���� ���þ IfModule �������� ���μ� Ư�� ����� �ִ� ��쿡�� ���������� ó���� �� �ִ�.

���� ������ � ����� �����ϵ��ִ��� ������ -l ������ �ɼ��� ����Ѵ�.

top

���þ� �������

�ּ������Ͽ� �ִ� ���þ�� ���� ��ü�� ����ȴ�. ���þ ������ �Ϻο��� ����ǰ� �Ϸ��� ���þ <Directory>, <DirectoryMatch>, <Files>, <FilesMatch>, <Location>, <LocationMatch> ���� �ȿ� �ξ���Ѵ�. �� ���ǵ��� �׵��� ���δ� ���þ��� ��������� ���Ͻý����̳� URL�� Ư�� ��ġ�� �����Ѵ�. ��, ���� ���ļ� ����� �� �ֱ⶧���� �ſ� ������ ������ �����ϴ�.

����ġ�� ���� �ٸ� ������Ʈ�� ���ÿ� �����ϴ� �ɷ��� �ִ�. �̸� ����ȣ��Ʈ��� �Ѵ�. ���þ <VirtualHost> ���� �ȿ� �ξ� Ư�� ������Ʈ���� ���þ ������ �� �ִ�.

���þ�� ��κ� � ���ǿ� ���͵� ������, � ���þ�� Ư�� ��ҿ��� �ǹ̰� ����. ���� ��� ���μ��� ������ �����ϴ� ���þ�� �ּ������� ��ҿ����� ����� �� �ִ�. ���þ � ���ǿ� ��ġ�� �� �ִ��� �˷��� ���þ��� �������� Ȯ���϶�. �� �ڼ��� ������ ��� Directory, Location, Files ������ �����ϳ��� �����϶�.

top

.htaccess ����

����ġ�� Ư���� ������ ����Ͽ� ������ ������(�б�������) ������ �� �ִ�. �� Ư���� ������ ���� .htaccess��� �θ�����, �̸��� AccessFileName ���þ�� ������ �� �ִ�. .htaccess ���Ͽ� �ִ� ���þ�� ������ �ִ� ���丮�� ��� �������丮�� ����ȴ�. .htaccess ������ �ּ������ϰ� ���� ������ ������. .htaccess ������ �� ��û������ �б⶧���� ������ �����ϸ� ��� ȿ���� �� �� �ִ�.

� ���þ .htaccess ���Ͽ� ����� �� �ִ��� �˷��� ���þ��� �������� Ȯ���϶�. ���� �����ڴ� �ּ��������� AllowOverride ���þ�� .htaccess ���Ͽ� � ���þ ����� �� �ִ��� ������ �� �ִ�.

.htaccess ���Ͽ� ���� �� �ڼ��� ������ .htaccess ���丮���� �����϶�.

������ ���:  de  |  en  |  fr  |  ja  |  ko  |  tr 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.