Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet456/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   452   453   454   455   456   457   458   459   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 355 
]
Another change I find useful is to give each virtual host its own log files. Normally, 
Apache will use 
/var/log/apache2/error.log
 and 
/var/log/apache2/access.log
 
to store log entries for all sites. If you only have a single site on your server, that is 
fine. However, when you're serving multiple sites, I find it useful to give each site its 
own independent log files. That way, if you are having trouble with a particular site, 
you don't have to scroll through unrelated log entries to find what you're looking 
for when you're troubleshooting. In my example, I inserted the website name in 
the log filenames, so this virtual host is logging errors in the 
/var/log/apache2/
acmeconsulting.com-error.log
 file, and the access log is being written to 
/var/log/
apache2/acmeconsulting.com-access.log
. These log files will be created for you 
automatically as soon as you reload Apache.
With a server that only has a single IP address, you can still set up multiple virtual 
hosts. Instead of differentiating virtual hosts by IP, you can instead differentiate 
them by name. This is common on 

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   452   453   454   455   456   457   458   459   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish