<-
Apache > HTTP Server > Documentation > Version 2.4

rH

݋b _ _ Ɯ”. ٿ ~@ ݋ O[.

݋b Hġ ݋L r[b Hϵ@ Ѵ.

Support Apache!

O

top

ּrH

^ ݋ H rHϿ C ȝ~[ Hġ rѴ. ּrH@ apache2.confO θ. H ġb HϳC r, -f w ӛڷ rR ] . ٸ rH@ Include C ȝ~[ ` ] O, ϵī带 ȝ~[ @ rH@ ` ]n . C rHϿ ȝ~ؙn ȴ. ּrH@ ]r[R Hġ C۸[ų C ^ȴ.

݋Lb mime ݋t@ @ Hϙn оb. Hϸ@ TypesConfig C r[O, ⺻@@ mime.typesƴ.

top

rH ^

Hġ rHϻ@ R C ȝ~Ѵ. R ڰ wE{ "\"ƔR C ٞ R݋ ӵ@ Ѵ. wE{ ڿ ڳ wn R ȵȴ.

rH Cb ڸ 亰[ , C ƱԄhb ڸ 亰[b 찡 . ؝{ "#" C۸[b R@ ּڷ CѴ. ּ@ r C @ R ȝ~ ] ^. R C տ b w@ C[Ƿ, [ ƙnU C R(indent) ] .

apache2ctl configtest -t w ӛ@ ȝ~[ Hġ [ ʽOn rH ^ ȝ ] .

top

Hġb ȭ ݋L. ƾb ſ ⺻ ɸ ݋L U `ǘ@ Ѵ. Hġb @ н鿩݋ @ ȮѴ. ⺻ڷ Hϸ[R ݋L base `ȴ. ݋L ڷ нƾb @ ȝ~ ] Hϸ[ٔR @ Hϸ[ ƹV LoadModule C ߰ ] . ׷ ʙڔR @ ߰[ų W Hġ ٳC Hؾ Ѵ. r C IfModule Uڷ }I݋ Ưr b 쿡 ڷ Q ] .

݋L Hϵǘb R -l w ӛ@ ȝ~Ѵ.

top

C ~

ּrHϿ b Cb ݋L ü ~ȴ. C ݋L Ϻο ~ǰ [R C <Directory>, <DirectoryMatch>, <Files>, <FilesMatch>, <Location>, <LocationMatch> ӛ ȿ νѴ. ӛ@ ׵ }Ib C ~ HϳCzۓƳ URL Ưr ġ ўrѴ. , ݋ ݋ ȝ~ ] V얿 ſ r ɸ[.

Hġb \ ٸ ȝh C ݋z[b ɷ“ . Ƹ xzhO Ѵ. C <VirtualHost> ӛ ȿ ν Ưr ȝh C ~ ] .

Cb κ ӛ ͙n , Cb Ưr ҿ݋ ǹ̰ ^. 齁 μz e@ [b Cb ݋Lr ҿ݋ ȝ~ ] . C ӛ ġ ] b ˷R C ȝ~ Ȯθ[. ڼ rb Directory, Location, Files ӛ ۸[ O[.

top

.htaccess H

Hġb Ư H@ ȝ~[ r@ ݋(бڷ) ] . Ư H@ .htaccessO θ, Ɠ@ AccessFileName C r ] . .htaccess HϿ b Cb Hϓ b 丮 [丮 ~ȴ. .htaccess Hϻ@ ּrHϰ @ ^@ . .htaccess Hϻ@ ]V бV얿 H@ ]r[R C ȿ ] .

C .htaccess HϿ ȝ~ ] b ˷R C ȝ~ Ȯθ[. ݋L ھb ּrH AllowOverride C .htaccess HϿ C ȝ~ ] b ] .

.htaccess HϿ ڼ rb .htaccess 丮@ O[.

:  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.
С͸