home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 November
/
CMCD1104.ISO
/
Software
/
Complet
/
Apache
/
apache_2.0.52-win32-x86-no_ssl.msi
/
Data.Cab
/
F277858_htaccess.xml.ko
< prev
next >
Wrap
Extensible Markup Language
|
2004-07-09
|
13KB
|
353 lines
<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
<!-- English Revision: 1.5.2.9 -->
<!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manualpage metafile="htaccess.xml.meta">
<parentdocument href="./">How-To / Tutorials</parentdocument>
<title>╛╞╞──í ┼⌡┼Σ╕«╛≤: .htaccess ╞─└╧</title>
<summary>
<p><code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╧┐⌐ ╡≡╖║┼Σ╕«║░╖╬ ╝│┴ñ└╗
║»░µ╟╥ ╝÷ └╓┤┘.</p>
</summary>
<section id="related"><title>.htaccess ╞─└╧</title>
<related>
<modulelist>
<module>core</module>
<module>mod_auth</module>
<module>mod_cgi</module>
<module>mod_include</module>
<module>mod_mime</module>
</modulelist>
<directivelist>
<directive module="core">AccessFileName</directive>
<directive module="core">AllowOverride</directive>
<directive module="core">Options</directive>
<directive module="mod_mime">AddHandler</directive>
<directive module="core">SetHandler</directive>
<directive module="core">AuthType</directive>
<directive module="core">AuthName</directive>
<directive module="mod_auth">AuthUserFile</directive>
<directive module="mod_auth">AuthGroupFile</directive>
<directive module="core">Require</directive>
</directivelist>
</related>
</section>
<section id="what">
<title>╣½╛∙└╠╕τ/╛ε╢╗░╘ ╗τ┐δ╟╧┤┬░í</title>
<p><code>.htaccess</code> ╞─└╧(╚ñ└║ "║╨╗Ω ╝│┴ñ╞─└╧")└╗
╗τ┐δ╟╧╕Θ ╡≡╖║┼Σ╕«║░╖╬ ╝│┴ñ└╗ ║»░µ╟╥ ╝÷ └╓┤┘. ┐⌐╖» ╝│┴ñ ┴÷╜├╛ε░í
└╓┤┬ ╞─└╧└╗ ╞»┴ñ ╣«╝¡ ╡≡╖║┼Σ╕«┐í ╡╬╕Θ, ▒╫ ╡≡╖║┼Σ╕«┐═ ╕≡╡τ
╟╧└º╡≡╖║┼Σ╕«┐í ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘.</p>
<note><title>┴╓└╟:</title>
<p><code>.htaccess</code> ╞─└╧╕φ└╗ ┤┘╕ú░╘ ╗τ┐δ╟╧░φ ╜═┤┘╕Θ,
<directive module="core">AccessFileName</directive> ┴÷╜├╛ε╕ª
╗τ┐δ╟╧┐⌐ ║»░µ╟╥ ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε, <code>.config</code>
╞─└╧╕φ└╗ ╗τ┐δ╟╧╖┴╕Θ ╝¡╣÷ ╝│┴ñ╞─└╧┐í ┤┘└╜░· ░░└╠ ├▀░í╟╤┤┘.</p>
<example>
AccessFileName .config
</example>
</note>
<p>└╧╣▌└√└╕╖╬ <code>.htaccess</code> ╞─└╧└║ <a
href="../configuring.html#syntax">┴╓╝│┴ñ╞─└╧</a>░· ╣«╣²└╠
░░┤┘. <directive module="core">AllowOverride</directive>
┴÷╜├╛ε░í └╠ ╞─└╧┐í │¬┐├ ╝÷ └╓┤┬ │╗┐δ└╗ ░ß┴ñ╟╤┤┘. └╠ ┴÷╜├╛ε┤┬
<code>.htaccess</code> ╞─└╧┐í╝¡ ╟π┐δ╟╧┤┬ ┴÷╜├╛ε ║╨╖∙╕ª ┴÷┴ñ╟╤┤┘.
┴÷╜├╛ε╕ª <code>.htaccess</code> ╞─└╧┐í╝¡ ╗τ┐δ╟╥ ╝÷ └╓┤┘╕Θ,
╟╪┤τ ┴÷╜├╛ε ╣«╝¡└╟ Override ╟╫╕±└║ ┴÷╜├╛ε╕ª ╟π┐δ╟╧▒Γ└º╟╪
<directive module="core">AllowOverride</directive>┐í ╗τ┐δ╟╥
░¬└╗ ╛╦╖┴┴╪┤┘.</p>
<p>┐╣╕ª ╡Θ╛ε, <directive module="core">AddDefaultCharset</directive>
┴÷╜├╛ε ╣«╝¡╕ª ║╕╕Θ └╠ ┴÷╜├╛ε╕ª <code>.htaccess</code> ╞─└╧┐í╝¡
╗τ┐δ╟╥ ╝÷ └╓┤┘. (┴÷╜├╛ε ┐Σ╛α┐í╝¡ ╗τ┐δ└σ╝╥ ╟╫╕±└╗ ║╕╢≤.)
<a href="../mod/directive-dict.html#Context">Override</a>
┴┘┐í <code>FileInfo</code>░í └╓┤┘. ▒╫╖í╝¡ └╠ ┴÷╜├╛ε╕ª
<code>.htaccess</code> ╞─└╧┐í╝¡ ╗τ┐δ╟╧▒Γ└º╟╪╝¡┤┬ ├╓╝╥╟╤
<code>AllowOverride FileInfo</code>░í ╟╩┐Σ╟╧┤┘.</p>
<example><title>┐╣┴ª:</title>
<table>
<tr>
<td><a
href="../mod/directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></td>
<td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«, directory, .htaccess</td>
</tr>
<tr>
<td><a
href="../mod/directive-dict.html#Override">Override:</a></td>
<td>FileInfo</td>
</tr>
</table>
</example>
<p>╞»┴ñ ┴÷╜├╛ε╕ª <code>.htaccess</code> ╞─└╧┐í╝¡ ╗τ┐δ╟╥
╝÷ └╓┤┬┴÷ ▒├▒▌╟╧╕Θ ┴÷╜├╛ε ╣«╝¡└╟ ╗τ┐δ└σ╝╥ ╟╫╕±┐í ".htaccess"░í
└╓┤┬┴÷ ╚«└╬╟╤┤┘.</p>
</section>
<section id="when"><title>╛≡┴ª .htaccess ╞─└╧└╗ ╗τ┐δ╟╧│¬
(╚ñ└║ ╗τ┐δ╟╧┴÷ ╛╩│¬)</title>
<p>└╧╣▌└√└╕╖╬ ┴╓╝¡╣÷╞─└╧┐í ┴ó▒┘╟╥ ╝÷ ╛°┤┬ ░µ┐∞░í ╛╞┤╧╢≤╕Θ
<code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╧╕Θ ╛╚╡╚┤┘. ┐╣╕ª ╡Θ╛ε,
╗τ┐δ└┌ └╬┴⌡└╠ ╟╫╗≤ <code>.htaccess</code> ╞─└╧┐í └╓╛ε╛▀
╟╤┤┘┤┬ ░═└║ └▀╕° ╛╦╖┴┴° ┐└╟╪┤┘. └╠┤┬ ╗τ╜╟└╠ ╛╞┤╧┤┘. ┴╓╝¡╣÷╝│┴ñ┐í
╗τ┐δ└┌ └╬┴⌡ ╝│┴ñ└╗ └√└╗ ╝÷ └╓░φ, ╗τ╜╟ └╠╖»▒µ ▒╟╟╤┤┘.</p>
<p><code>.htaccess</code> ╞─└╧└║ ─┴┼┘├≈ ┴ª░°└┌░í ╡≡╖║┼Σ╕«║░╖╬
╝¡╣÷ ╝│┴ñ└╗ ┤┘╕ú░╘╟╧░φ ╜═┴÷╕╕ ╝¡╣÷ ╜├╜║┼█┐í root ▒╟╟╤└╠
╛°┤┬ ░µ┐∞┐í ╗τ┐δ╟╤┤┘. ╝¡╣÷ ░ⁿ╕«└┌░í ╝│┴ñ└╗ └┌┴╓ ║»░µ╟╧░φ
╜═┴÷ ╛╩└║ ░µ┐∞ └╧╣▌ ╗τ┐δ└┌░í ┴≈┴ó <code>.htaccess</code>
╞─└╧└╗ ╝÷┴ñ╟╧╡╡╖╧ ╟π┐δ╟╧┤┬ ░═└╠ ╣┘╢≈┴≈╟╧┤┘. ┐╣╕ª ╡Θ╛ε, ╟╤
──╟╗┼═┐í ┐⌐╖» ╗τ┐δ└┌ ╗τ└╠╞«╕ª ╝¡║±╜║╟╧┤┬ ISP┐í╝¡ ╗τ┐δ└┌░í
└┌╜┼└╟ ╝│┴ñ└╗ ║»░µ╟╧░φ ╜═└║ ░µ┐∞░í ▒╫╖»╟╧┤┘.</p>
<p>▒╫╖»│¬ └╧╣▌└√└╕╖╬ <code>.htaccess</code> ╞─└╧└║ ░í▒▐└√
╟╟╟╪╛▀ ╟╤┤┘. <code>.htaccess</code> ╞─└╧┐í╝¡ ╟π┐δ╟╧┤┬ ┴÷╜├╛ε┤┬
┴╓╝│┴ñ╞─└╧└╟ <directive module="core"
type="section">Directory</directive> ╝╜╝╟░· ░░└║ ╚┐░·░í
└╓┤┘.</p>
<p>┤┘└╜ ╡╬░í┴÷ ┼½ └╠└»╢º╣«┐í <code>.htaccess</code> ╞─└╧
╗τ┐δ└╗ ╟╟╟╪╛▀ ╟╤┤┘.</p>
<p>├╣╣°┬░┤┬ ╝║┤╔└╠┤┘. <directive
module="core">AllowOverride</directive>░í <code>.htaccess</code>
╞─└╧└╗ ╗τ┐δ╟╧╡╡╖╧ ╟π┐δ╟╧╕Θ, ╛╞╞──í┤┬ ╡≡╖║┼Σ╕«╕╢┤┘
<code>.htaccess</code> ╞─└╧└╗ ├ú┤┬┤┘. ▒╫╖í╝¡
<code>.htaccess</code> ╞─└╧└╗ ╟π┐δ╟╧╕Θ ╜╟┴ª╖╬ ╞─└╧└╗ ╗τ┐δ╟╧┴÷
╛╩┤┬ ░µ┐∞┐í╡╡ ╝║┤╔└╠ ╢│╛ε┴°┤┘! ╢╟, <code>.htaccess</code>
╞─└╧└║ ╣«╝¡╕ª ┐Σ├╗╟╥╢º╕╢┤┘ └╨╛ε╡Θ└╬┤┘.</p>
<p>░╘┤┘░í └√┐δ╟╪╛▀ ╟╧┤┬ └ⁿ├╝ ┴÷╜├╛ε╕ª ╕≡└╕▒Γ└º╟╪ ╛╞╞──í┤┬
╕≡╡τ ╗≤└º ╡≡╖║┼Σ╕«┐í╝¡ <code>.htaccess</code> ╞─└╧└╗ ├ú┤┬┤┘.
(<a href="#how">╛ε╢╗░╘ ┴÷╜├╛ε╕ª └√┐δ╟╧│¬</a> └²└╗ ┬ⁿ░φ.)
▒╫╖í╝¡ <code>/www/htdocs/example</code> ╡≡╖║┼Σ╕«┐í └╓┤┬
╞─└╧└╗ ┐Σ├╗╟╧╕Θ, ╛╞╞──í┤┬ ┤┘└╜ ╞─└╧╡Θ└╗ ├ú╛╞╛▀ ╟╤┤┘.</p>
<example>
/.htaccess<br />
/www/.htaccess<br />
/www/htdocs/.htaccess<br />
/www/htdocs/example/.htaccess
</example>
<p>▒╫╖í╝¡ ▒╫ ╡≡╖║┼Σ╕«┐í └╓┤┬ ╞─└╧└╗ ┴ó▒┘╟╥ ╢º╕╢┤┘ ╝│┴ñ╞─└╧└╠
└ⁿ╟⌠ ╛°╛ε╡╡ ╞─└╧╜├╜║┼█└╗ 4╣° ┤⌡ ┴ó▒┘╟╪╛▀ ╟╤┤┘.
(<code>/</code>┐í╝¡╡╡ <code>.htaccess</code> ╞─└╧└╗ ╟π┐δ╟╤
░µ┐∞╕ª ╕╗╟╤┤┘. ║╕┼δ└║ ╟π┐δ╟╧┴÷ ╛╩┤┬┤┘.)</p>
<p>╡╬╣°┬░ └╠└»┤┬ ║╕╛╚└╠┤┘. ╗τ┐δ└┌┐í░╘ ╝¡╣÷╝│┴ñ ║»░µ ▒╟╟╤└╗
┴╓╕Θ ┤τ╜┼└╠ ░¿┤τ╟╥ ╝÷ ╛°┤┬ ║»╚¡░í └╧╛ε│» ╝÷ └╓┤┘. ╗τ┐δ└┌┐í░╘
└╠╖▒ ▒╟╟╤└╗ ┴┘┴÷ ░⌡░⌡└╠ ╗²░ó╟╧╢≤. ╢╟, ╗τ┐δ└┌░í ┐°╟╧┤┬ ░═║╕┤┘
└√└║ ▒╟╟╤└╗ ┴╓╕Θ ▒Γ╝·┴÷┐°┐Σ├╗└╠ ╡Θ╛ε┐┬┤┘. ╗τ┐δ└┌┐í░╘ ░í┤╔╟╤
▒╟╟╤ ╝÷┴╪└╗ ╕φ╚«╚≈ ╛╦╖┴╢≤. ╗τ┐δ└┌┐í░╘ <directive
module="core">AllowOverride</directive>╕ª ╛ε╢╗░╘ ╝│┴ñ╟╧┐┤┤┬┴÷
┴ñ╚«╚≈ ╛╦╕«░φ ░ⁿ╖├ ╣«╝¡╕ª ┴ª░°╟╧╕Θ ╛╒└╕╖╬ ╚Ñ╢⌡└╗ ╟╟╟╥ ╝÷
└╓┤┘.</p>
<p>┴÷╜├╛ε╕ª <code>/www/htdocs/example</code> ╡≡╖║┼Σ╕«└╟
<code>.htaccess</code> ╞─└╧└╗ ╡╬┤┬ ░═░· ┴╓╝¡╣÷╝│┴ñ└╟
<code><Directory /www/htdocs/example></code> Directory
╝│┴ñ┐í ╡╬┤┬ ░═└║ ┐╧└ⁿ╚≈ ░░┤┘.</p>
<p><code>/www/htdocs/example</code>┐í └╓┤┬
<code>.htaccess</code> ╝╜╝╟:</p>
<example><title><code>/www/htdocs/example</code>┐í └╓┤┬
.htaccess ╞─└╧ │╗┐δ</title>
AddType text/example .exm
</example>
<example><title><code>httpd.conf</code> ╞─└╧┐í └╓┤┬ ╝╜╝╟</title>
<Directory /www/htdocs/example><br />
<indent>
AddType text/example .exm<br />
</indent>
</Directory>
</example>
<p>▒╫╖»│¬ ╞─└╧└╗ ┐Σ├╗╟╥ ╢º╕╢┤┘ ╝│┴ñ└╗ └╨┴÷╛╩░φ ╛╞╞──í░í
╜├└█╟╥╢º ╟╤╣°╕╕ ╝│┴ñ└╗ └╨▒Γ╢º╣«┐í ░░└║ ╝│┴ñ└╗ ╝¡╣÷╝│┴ñ╞─└╧┐í
╗τ┐δ╟╧╕Θ ╝║┤╔└╠ ┤⌡ ║ⁿ╕ú┤┘.</p>
<p><directive module="core">AllowOverride</directive> ┴÷╜├╛ε╕ª
<code>none</code>└╕╖╬ ╝│┴ñ╟╧╕Θ <code>.htaccess</code> ╞─└╧└╗
┐╧└ⁿ╚≈ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</p>
<example>
AllowOverride None
</example>
</section>
<section id="how"><title>╛ε╢╗░╘ ┴÷╜├╛ε╕ª └√┐δ╟╧│¬</title>
<p><code>.htaccess</code> ╞─└╧└╗ ╣▀░▀╟╤ ╡≡╖║┼Σ╕«┐═ ▒╫ ╡≡╖║┼Σ╕«└╟
╕≡╡τ ╟╧└º╡≡╖║┼Σ╕«┐í <code>.htaccess</code> ╞─└╧┐í └╓┤┬ ╝│┴ñ
┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ▒╫╖í╝¡ ╗≤└º╡≡╖║┼Σ╕«└╟ <code>.htaccess</code>
╞─└╧└╗ ┴╓└╟╟╪╛▀ ╟╤┤┘. ╣▀░▀╟╤ ╝°╝¡╖╬ ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ╞»┴ñ
╡≡╖║┼Σ╕«┐í └╓┤┬ <code>.htaccess</code> ╞─└╧└║ ╗≤└º╡≡╖║┼Σ╕«┐í
└╓┤┬ <code>.htaccess</code> ╞─└╧└╟ ┴÷╜├╛ε╕ª ╣½╚┐╖╬ ╕╕╡Θ
╝÷ └╓░φ, ╗≤└º╡≡╖║┼Σ╕«┐í └╓┤┬ ┴÷╜├╛ε┤┬ ┤⌡ ╗≤└º╡≡╖║┼Σ╕« ╚ñ└║
┴╓╝│┴ñ╞─└╧┐í └╓┤┬ ┴÷╜├╛ε╕ª ╣½╚┐╖╬ ╕╕╡Θ ╝÷ └╓┤┘.</p>
<p>┐╣┴ª:</p>
<p><code>/www/htdocs/example1</code> ╡≡╖║┼Σ╕«┐í ┤┘└╜░· ░░└║
<code>.htaccess</code> ╞─└╧└╠ └╓┤┘.</p>
<example>
Options +ExecCGI
</example>
<p>(┴╓└╟: <code>.htaccess</code> ╞─└╧┐í "<directive
module="core">Options</directive>" ┴÷╜├╛ε╕ª ╗τ┐δ╟╧╖┴╕Θ
"<code>AllowOverride Options</code>"░í ╟╩┐Σ╟╧┤┘.)</p>
<p><code>/www/htdocs/example1/example2</code> ╡≡╖║┼Σ╕«┐í┤┬
┤┘└╜░· ░░└║ <code>.htaccess</code> ╞─└╧└╠ └╓┤┘.</p>
<example>
Options Includes
</example>
<p>└╠ ╡╬╣°┬░ <code>.htaccess</code> ╞─└╧└╟
<code>Options Includes</code>░í └╠└ⁿ ╝│┴ñ└╗ ┐╧└ⁿ╚≈ ╣½╚┐╖╬
╕╕╡Θ▒Γ╢º╣«┐í <code>/www/htdocs/example1/example2</code>
╡≡╖║┼Σ╕«┤┬ CGI ╜╟╟α└╗ ╟π┐δ╟╧┴÷ ╛╩┤┬┤┘.</p>
</section>
<section id="auth"><title>└╬┴⌡ ┐╣┴ª</title>
<p>└╬┴⌡ ╣µ╣²└╗ ╛╦▒Γ└º╟╪ ╣┘╖╬ └╠░≈║╬┼═ └╨┤┬┤┘╕Θ ┴╓└╟╟╥ ░═└╠
└╓┤┘. ╛╧╚ú └╬┴⌡└╗ ╟╧╖┴╕Θ <code>.htaccess</code> ╞─└╧└╠
╟╩┐Σ╟╧┤┘┤┬ ┐└╟╪░í │╬╕« ╞█┴«└╓┤┘. └╠┤┬ ╗τ╜╟└╠ ╛╞┤╧┤┘.
┴╓╝│┴ñ╞─└╧└╟ <directive module="core"
type="section">Directory</directive> ╝╜╝╟┐í └╬┴⌡ ┴÷╜├╛ε╕ª
╡╬┤┬ ░═└╠ ┤⌡ ▒╟└σ╟╧┤┬ ╣µ╣²└╠░φ, ╝¡╣÷└╟ ┴╓╝│┴ñ╞─└╧└╗ ╝÷┴ñ╟╥
╝÷ ╛°┤┬ ░µ┐∞┐í╕╕ <code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╪╛▀
╟╤┤┘. ╛≡┴ª <code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╪╛▀ ╟╧┤┬┴÷┐═
╗τ┐δ╟╧┴÷ ╕╗╛╞╛▀ ╟╧┤┬┴÷┤┬ <a href="#when">└º┐í╝¡</a>
╝│╕φ╟╧┐┤┤┘.</p>
<p>╛╒┐í╝¡ ╕╗╟▀┴÷╕╕ ╛╞┴≈╡╡ <code>.htaccess</code> ╞─└╧└╠
╟╩┐Σ╟╧┤┘░φ ╗²░ó╡╟╕Θ ╛╞╖í ╝│┴ñ└╠ ╡╡┐≥└╠ ╡╔ ░═└╠┤┘.</p>
<p>└╠ ┴÷╜├╛ε░í ╡┐└█╟╧╖┴╕Θ "<code>AllowOverride AuthConfig</code>"░í
└╓╛ε╛▀ ╟╤┤┘.</p>
<p><code>.htaccess</code> ╞─└╧ │╗┐δ.</p>
<example>
AuthType Basic<br />
AuthName "Password Required"<br />
AuthUserFile /www/passwords/password.file<br />
AuthGroupFile /www/passwords/group.file<br />
Require Group admins
</example>
<p>└╠ ┴÷╜├╛ε░í ╡┐└█╟╧▒Γ└º╟╪╝¡┤┬
<code>AllowOverride AuthConfig</code> ┴÷╜├╛ε░í ╟╩┐Σ╟╘└╗
╕φ╜╔╟╧╢≤.</p>
<p>└╬┴⌡░· ▒╟╟╤║╬┐⌐┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ└║ <a href="auth.html">└╬┴⌡
┼⌡┼Σ╕«╛≤</a>└╗ ║╕▒µ ╣┘╢⌡┤┘.</p>
</section>
<section id="ssi"><title>Server Side Includes ┐╣┴ª</title>
<p>╢╟┤┘╕Ñ └╧╣▌└√└╬ <code>.htaccess</code> ╞─└╧└╟ ┐δ╡╡┤┬
╞»┴ñ ╡≡╖║┼Σ╕«┐í╝¡ Server Side Includes╕ª ░í┤╔╟╧░╘ ╕╕╡σ┤┬
░═└╠┤┘. ┐°╟╧┤┬ ╡≡╖║┼Σ╕«└╟ <code>.htaccess</code> ╞─└╧┐í
┤┘└╜░· ░░└║ ╝│┴ñ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧╕Θ ╡╚┤┘.</p>
<example>
Options +Includes<br />
AddType text/html shtml<br />
AddHandler server-parsed shtml
</example>
<p>└╠ ┴÷╜├╛ε░í ╡┐└█╟╧╖┴╕Θ <code>AllowOverride Options</code>┐═
<code>AllowOverride FileInfo</code>░í ╕≡╡╬ ╟╩┐Σ╟╘└╗ ╕φ╜╔╟╧╢≤.</p>
<p>server-side includes┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ└║ <a
href="ssi.html">SSI ┼⌡┼Σ╕«╛≤</a>└╗ ║╕▒µ ╣┘╢⌡┤┘.</p>
</section>
<section id="cgi"><title>CGI ┐╣┴ª</title>
<p>╕╢┴÷╕╖└╕╖╬ <code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╧┐⌐ ╞»┴ñ
╡≡╖║┼Σ╕«┐í╝¡ CGI ╟┴╖╬▒╫╖Ñ ╜╟╟α└╗ ╟π┐δ╟╧░φ ╜═┤┘╕Θ, ┤┘└╜░·
░░└║ ╝│┴ñ└╗ ╗τ┐δ╟╤┤┘.</p>
<example>
Options +ExecCGI<br />
AddHandler cgi-script cgi pl
</example>
<p>╚ñ└║ └╠ ╡≡╖║┼Σ╕«┐í └╓┤┬ ╕≡╡τ ╞─└╧└╗ CGI ╟┴╖╬▒╫╖Ñ└╕╖╬
├│╕«╟╧░φ ╜═┤┘╕Θ ┤┘└╜░· ░░└║ ╝│┴ñ╡╡ ░í┤╔╟╧┤┘.</p>
<example>
Options +ExecCGI<br />
SetHandler cgi-script
</example>
<p>└╠ ┴÷╜├╛ε░í ╡┐└█╟╧╖┴╕Θ <code>AllowOverride Options</code>┐═
<code>AllowOverride FileInfo</code>░í ╕≡╡╬ ╟╩┐Σ╟╘└╗ ╕φ╜╔╟╧╢≤.</p>
<p>CGI ╟┴╖╬▒╫╖í╣╓░· ╝│┴ñ┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ└║ <a
href="cgi.html">CGI ┼⌡┼Σ╕«╛≤</a>└╗ ║╕▒µ ╣┘╢⌡┤┘.</p>
</section>
<section id="troubleshoot"><title>╣«┴ª╟╪░ß</title>
<p><code>.htaccess</code> ╞─└╧┐í ╡╨ ╝│┴ñ ┴÷╜├╛ε░í ┐°╟╧┤┬
▒Γ┤╔└╗ ╟╧┴÷ ╛╩┤┬ ░µ┐∞ ┐⌐╖»░í┴÷ └╠└»░í └╓└╗ ╝÷ └╓┤┘.</p>
<p>░í└σ └╧╣▌└√└╬ ╣«┴ª┤┬ ╝│┴ñ ┴÷╜├╛ε╕ª ░í┤╔╟╧░╘ ╕╕╡σ┤┬ <directive
module="core">AllowOverride</directive>╕ª ╝│┴ñ╟╧┴÷ ╛╩└║
░µ┐∞┤┘. ╣«┴ª░í ╡╟┤┬ ╞─└╧ ┐╡┐¬┐í <code>AllowOverride None</code>└╠
╛°┤┬┴÷ ╚«└╬╟╤┤┘. <code>.htaccess</code> ╞─└╧└╗ ╛╞╣½╖╕░╘│¬
└√└║ ┤┘└╜ ╞Σ└╠┴÷╕ª ┤┘╜├ ┴ó▒┘╟╧┐⌐ ╜▒░╘ ░╦╗τ╟╪║╝ ╝÷ └╓┤┘.
╝¡╣÷ ┐└╖∙░í │¬┐└┴÷ ╛╩└╕╕Θ ░┼└╟ ╚«╜╟╚≈
<code>AllowOverride None</code>└╗ ╗τ┐δ╟╤ ░µ┐∞┤┘.</p>
<p>╣▌┤δ╖╬ ╣«╝¡┐í ┴ó▒┘╟╥╢º ╝¡╣÷ ┐└╖∙░í ╣▀╗²╟╧╕Θ ╛╞╞──í ┐└╖∙╖╬▒╫╕ª
╗∞╞∞║┴╢≤. ╛╞╕╢╡╡ <code>.htaccess</code> ╞─└╧┐í └╓┤┬ ┴÷╜├╛ε╕ª
╟π┐δ╟╧┴÷ ╛╩┤┬┤┘░φ ╟╥ ░═└╠┤┘. ╛╞┤╧░φ ╣«╣² ┐└╖∙░í └╓┤┘╕Θ ┐└╖∙╕ª
░φ─ú┤┘.</p>
</section>
</manualpage>