# R ea l-tim e in fo on requests and c o n fig u r a tio n
Include c o n f/e x tr a /h ttp d -in fo .c o n f
# V irtu al h osts
Include c o n f/e x tr a /h ttp d -v h o s ts .c o n f
# L ocal a c c e ss to th e A p a ch e H T T P Server M anual
# In clu d e c o n f/e x tr a /h ttp d -m a n u a l.c o n f
# D istrib u ted au th orin g and v ersio n in g (W ebD A V )
Include c o n f/e x tr a /h ttp d -d a v .c o n f
# V arious default settin gs
Include c o n f/e x tr a /h ttp d -d e fa u lt.c o n f
# S ecu re (S S L /T L S ) c o n n e c tio n s
Include c o n f/e x tr a /h ttp d -s s l.c o n f_________________________________________
Q o id aga aso sa n p a p k a la r D : \ x a m p p \ h t d o c s \ (m asa la n , talaba)
direktoriyasi ich id a yaratiladi va shu p ap k a g a Web sahifa fayllarida
joy lash tiriladi, so‘ng b ra u z e r y o r d a m id a h t t p : / / l o c a l h o s t / t a l a b a /
m u ro jaa tin i yozib Web sahifa ishga tu s h irila d i.
B u n d a n h a m qulay yo‘li m avjud bo'lib, Web sah ifa la r D : \ x a m p p \
h t d o c s \ d a em as, balki b o s h q a p a p k a d a s a q lan a d i
yoki s a y tn in g lokal
versiyasiga w w w .talaba.local
m a n z ili b ilan kiriladi. B u n in g u c h u n
esa virtual xostlarni yaratish va sozlash lozim .
1. V irtu a l xost yaratish u c h u n avval xost
jo y las h ad ig an papka
yaratiladi:
D: d is k n in g h o m e papk a sida ( D : \ h o m e ) talaba .loca l n o m li p a p -
kani y a r a ta m iz , u n i n g ichida w w w va logs p a p k a la rin i y aratam iz.
Bu W indo w s fayllar tiz im id a quyidagi k o ‘rin is h d a b o ‘ladi:
л Л
hom e
л J talaba.local
logs
j j j WWW
2. D : \ x a m p p \ h t d o c s \ d a b o ‘lgan b a rc h a p a p k a la rn i D : / h o m e / t a -
l a b a .lo c a l/ w w w ga o ‘tk a z a m iz .
3. a p a ch e n in g k o n fig u ra tsio n fayliga o ‘zgartirish k iritam iz.
M a tn
m u h a r r ir i d a
D :\ x a m p p \ a p a c h e \ c o n f \ e x tr a
katalogida
joylashgan jo ylashgan h t t p d - v h o s ts .c o n f faylini o c h a m iz .
h ttp d -v h o s ts .c o n f faylining tarkibiga h e c h q a n d a y o ‘zgartirish
k iritm a y m iz , faqatgina yangi xost q o ‘s h a m iz (quyidagi kod nusx asin i
o ling va fayldagi k o d la rn in g oxiriga q o ‘ying):