Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://www.arcetri.astro.it/manual/ko/howto/public_html.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013
Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 07:47:30 2014
Êîäèðîâêà: ISO8859-5

Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï ï ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï
Ë÷ÏûÐêÊÀ <b style="color:black;background-color:#ff6666">Ð</b>?Å?ÇÊÕôÈ? - Apache HTTP Server
<-
Apache > HTTP Server > Documentation > Version 2.2 > How-To / Tutorials

Ë÷ÏûÐêÊÀ Ð?Å?ÇÊÕôÈ?

ÀÅÄÙ×á Î?Îþ:  en  |  ja  |  ko  |  tr 

ÐÜ É?Ì-ÄÒ ÓæÍÕÖ× É?Ï?ÐÜ ÎÖÄåÄßÄé. ÓæÁéÏÅ Ê?ÀöÅØ ÃËÏûÐÊ ÏÅÎþ É?Ì-È? Ò?Àý×ßÌÌÏô.

Ï?Ç? Ë÷ÏûÐêÀÅ ÐæÄÒ ÍÓÍÊÕëÏÅÌ- UserDir Ñ?ÍÓÎþÈ? Ë÷Ïû×ßÈù À? Ë÷ÏûÐêÄÒ ÐêÍÕÐ× Ø?Å?ÇÊÕôÈ? ÎØÏÅ Ð?Ë÷ÐÜÖ?È? ÈÈÅù Ì? ÐæÄé. URL http://example.com/~username/ÏÅ Ñ?Áé×ßÈù Ë÷ÏûÐê "username"Ð× Ø?Å?ÇÊÕôÈ?ÏÅÌ- UserDir Ñ?ÍÓÎþÇÞ Ñ?Ñ?×á ×ßÐ?Å?ÇÊÕôÈ?ÏÅ ÐæÄÒ ÖôÐÜÑ?È? ÀÅÑ?ÏÐÀä ÅØÄé.

Ò?Àý

top

Ë÷ÏûÐêÊÀ Ð?Å?ÇÊÕôÈ?

top

UserDirÇÞ ÖÔÐßÀöÇÞ Ñ?Ñ?×ßÁò

UserDir Ñ?ÍÓÎþÄÒ Ë÷ÏûÐêÊÀ ÖôÐÜÑ?È? ÀÅÑ?ÏÓ Å?ÇÊÕôÈ?È? Ñ?Ñ?×áÄé. ÐÜ Ñ?ÍÓÎþÐ× Ë÷ÏûÉÐÊ Ï?Ç?ÀÅÑ?Äé.

ÍÍÇÅÍ?ÇÞ ÍÓÐë×ßÑ?ÎÚÄÒ ÀöÇÞÈ? Ñ?Ñ?×ßÈù À? Ë÷ÏûÐêÐ× Ø?Å?ÇÊÕôÈ?ÏÅ Ë?ÄûÐ?ÐÞ Å?ÇÊÕôÈ? ÀöÇÞÇÞ ÓÃÈ?×áÄé. ÏÉÈ? ÅùÎþ, ÎÖÇÅ ÌÃÑ?Ð× ÀöÏü:

UserDir public_html

URL http://example.com/~rbowen/file.htmlÐÊ ÖÔÐß ÀöÇÞ /home/rbowen/public_html/file.htmlÐË Æö×áÄé.

ÍÍÇÅÍ?ÇÞ ÍÓÐë×ßÄÒ ÀöÇÞÈ? Ñ?Ñ?×ßÈù Ñ?Ñ?×á Å?ÇÊÕôÈ?ÏÅ Ë÷ÏûÐêÈýÐË Ä?×á Å?ÇÊÕôÈ? ÀöÇÞÈ? Ë÷Ïû×áÄé. ÏÉÈ? ÅùÎþ, ÎÖÇÅ ÌÃÑ?Ð× ÀöÏü:

UserDir /var/html

URL http://example.com/~rbowen/file.htmlÐÊ ÖÔÐß ÀöÇÞ /var/html/rbowen/file.htmlÐË Æö×áÄé.

ÊÀ×? (*)È? Ö?×ä×á ÀöÇÞÈ? Ñ?Ñ?×ßÈù ÊÀ×?È? Ë÷ÏûÐêÈýÐÈÇÞ ÄûÓÌ×á ÀöÇÞÈ? Ë÷Ïû×áÄé. ÏÉÈ? ÅùÎþ, ÎÖÇÅ ÌÃÑ?Ð× ÀöÏü:

UserDir /var/www/*/docs

URL http://example.com/~rbowen/file.htmlÐÊ ÖÔÐß ÀöÇÞ /var/www/rbowen/docs/file.htmlÐË Æö×áÄé.

top

ÁòÄÙÐË ÐÜÏû×â Ë÷ÏûÐê Ñ?×á×ßÁò

UserDir É?Ì-ÏÅ ÐæÄÒ É?ÉÐË Ë÷Ïû×ßÏ? Ë÷ÏûÐêÊÀ Ð?Å?ÇÊÕôÈ? ÁòÄÙÐË ÐÜÏû×â Ì? ÐæÄÒ Ë÷ÏûÐêÈ? Ñ?×á×â Ì? ÐæÄé:

UserDir enabled
UserDir disabled root jro fish

Ð? ÌÃÑ?ÐÊ disabled É?ÐõÏÅ Ï-ÀÕ×á Ë÷Æ?ÐË Ñ?Ïì×ßÀý È?Å÷ Ë÷ÏûÐêÏÅÀä Ð?Å?ÇÊÕôÈ? ÁòÄÙÐË ×óÆ?×áÄé. Æ×, ÄéÐÍÀ? ÀÀÐÜ ÈþÈþ Ë÷ÏûÐêÈ? Ñ?Ïì×ßÀý ÁòÄÙÐË ×óÆ?×ßÑ? ÎÚÐË Ì?ÅÅ ÐæÄé:

UserDir disabled
UserDir enabled rbowen krietz

UserDir É?Ì-ÏÅ ÐæÄÒ ÄéÈ? ÏÉÅùÅÅ Ò?Àý×ßÆ?.

top

À? Ë÷ÏûÐêÊÀ cgi Å?ÇÊÕôÈ? Ñ?Ñ?×ßÁò

Ë÷ÏûÐêÈÆÄé cgi-bin Å?ÇÊÕôÈ?È? ÊÞÏ?×ßÇÑÈù <Directory> Ñ?ÍÓÎþÈ? Ë÷Ïû×ßÏ? Ë÷ÏûÐê Ø?Å?ÇÊÕôÈ?Ð× Ö?Ñ? ×ßÐ?Å?ÇÊÕôÈ?È? cgi ÀÅÄÙ×ßÀä ÈÈÅ÷Äé.

<Directory /home/*/public_html/cgi-bin/>
Options ExecCGI
SetHandler cgi-script
</Directory>

UserDirÐÜ public_htmlÐÜÆ?Àý ÀÅÑ?×ßÈù, ÄéÐÍÀ? ÀÀÐÜ Áç ÎØÏÅ ÐæÄÒ cgi ×ÑÇÞÁçÇ? example.cgiÈ? Í××ð×â Ì? ÐæÄé.

http://example.com/~rbowen/cgi-bin/example.cgi

top

Ë÷ÏûÐêÀÅ ÌÃÑ?ÐË Ê?Àö×â Ì? ÐæÅÅÇß ÈÈÅùÁò

Ë÷ÏûÐêÀÅ ÐêÍÕÐ× Ð?À?À?ÏÅ Äû×á Ð?Ì-É? ÌÃÑ?ÐË Ì?Ñ?×ßÇÑÈù, .htaccess ÖÔÐßÐË Ë÷Ïû×â Ì? ÐæÎþÎï ×áÄé. AllowOverrideÈ? Ë÷ÏûÐêÀÅ Ì?Ñ?×â Ì? ÐæÄÒ Ñ?ÍÓÎþÏÅ Ð?×å×á À?ÐÈÇÞ ÌÃÑ?×ßÆ?. ÎþÆËÀä ÅÏÐë×ßÄÒÑ?ÏÅ Äû×á ÐêÌÌ×á ÑÄÊÈÄÒ .htaccess Õ?ÕôÈ?Î?ÐË Ò?Àý×ßÆ?.

ÀÅÄÙ×á Î?Îþ:  en  |  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.