cgi_path.html.ko.euc-kr revision 71fccc298df6a1540d408151a26aa22beed55d0b
<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>CGI ȯ�濡�� PATH_INFO�� ��ȭ - Apache HTTP Server</title>
<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<body id="manual-page"><div id="page-header">
<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p>
<p class="apache">Apache HTTP Server Version 2.1</p>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.1</a></div><div id="page-content"><div id="preamble"><h1>CGI ȯ�濡�� PATH_INFO�� ��ȭ</h1>
<div class="toplang">
<p><span>������ ���: </span><a href="/en/cgi_path.html" hreflang="en" rel="alternate" title="English"> en </a> |
</div>
<p>����ġ 1.1.1�� �� ���� ������ ��� CGI ȯ�濡��
PATH_INFO�� ����� ����� ���������� �ʰ� � ��� ������
���̱ �ߴ�. ����ġ 1.2 ���� �� ����� ���ߴ�. ������
� CGI ���α���� �ణ�� ȣȯ������ ������
���� CGI ��ũ��Ʈ�� ������ �� �ִ�. (<a href="#compat">�Ʒ�
���</a>)</p>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#prob">������</a></li>
</ul></div>
<div class="section">
<h2><a name="prob" id="prob">������</a></h2>
<p>����ġ 1.1.1�� �� ���� ������ URL ��� ���ϸ���
������ PATH_INFO�� SCRIPT_NAME ȯ�溯���� �����ߴ�. ����
��� �ùٸ� ��� ������, ���Ͻý��� ��ΰ� path
������ �����Ѵٸ� �߸�� ��� ���� �� �ִ�. ���� ���,
�������Ͽ� ������ ���� ������ �ִٸ�:</p>
<div class="example"><p><code>
</code></p></div>
CGI�� �Ѱ����� ������. �� ���
"<code>/cgi-</code>"�� �ȴ�. ���ڴ� �и��� �߸�Ǿ��.
������ � ��� ������ �ױ �Ѵ�.</p>
<div class="section">
<h2><a name="solution" id="solution">�ذ�å</a></h2>
<p>����ġ 1.2 ���Ŀ����� URL���� Ŭ���̾�Ʈ�� �������
�κ��� �Ǵ��Ͽ� SCRIPT_NAME�� PATH_INFO�� �����Ѵ�. ����
������ PATH_INFO�� "<code>/script</code>"�� �ǰ�, SCRIPT_NAME��
"<code>/cgi-ralph</code>"�� �ȴ�. �̴� �ո����̸� ������
������ ����Ű�� �ʴ´�. ��, ���� ����� �� ��ũ��Ʈ����
���� ��ũ��Ʈ�� ����Ű�� URL���� ������ �� �ִ�.</p>
<p>���� �������� <code>Alias</code> ���þ���
"<code>/ralph</code>" ������ ������. ���� �츮��
���Ͻý����� ����Ͽ� �̷� ������ �Ѱ��ִ� ���� �ٶ�����
����� �ƴϸ�, �̸� ����ϴ� ��ũ��Ʈ�� �۵���"������"
�ʴٰ� ���Ѵ�. ���� ����ġ 1.2b3 ���Ŀ��� �̿� ����
<a href="#compat">�ذ�å</a>�� �ִ�.</p>
<div class="section">
<h2><a name="compat" id="compat">���� ������ ȣȯ��</a></h2>
<p>����ġ ���� �����̳� �ٸ� ���������� ����� ��ũ��Ʈ��
���� PATH_INFO ������ �����ߴ� ������ �ʿ��� �� �ִ�. ����
����ġ 1.2 (1.2b3 ����)�� FILEPATH_INFO��� ������ �� �����Ѵ�.
�� ȯ�溯���� ����ġ 1.1.1�� PATH_INFO ���� �����.</p>
<p>��ũ��Ʈ�� ����ġ 1.2�� ���� ���� ��ο��� �����ϰ��Ϸ���,
���� FILEPATH_INFO�� �ִ��� �˻��ϰ� �ִٸ� �װ���
����Ѵ�. ��ٸ� PATH_INFO�� ����Ѵ�. ���� ���,
Perl�δ� ������ ����:</p>
<div class="example"><p><code>
$path_info = $ENV{'FILEPATH_INFO'} || $ENV{'PATH_INFO'};
</code></p></div>
��� �������� ��ũ��Ʈ�� ������ �� �ִ�.</p>
</div></div>
<div class="bottomlang">
<p><span>������ ���: </span><a href="/en/cgi_path.html" hreflang="en" rel="alternate" title="English"> en </a> |
</div><div id="footer">
<p class="apache">Copyright 1999-2004 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p></div>
</body></html>