banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Messages posted by: iosha789  XML
Profile for iosha789 Messages posted by iosha789 [ number of posts not being displayed on this page: 13 ]
 

bino1810 wrote:
Bạn nên set thêm tham số:

Content-Transfer-Encoding: 7-bit 


đồng thời set lại:

charset: utf8  


Các thông số này khá quan trọng đối với các mail server gmail, yahoo. Ngoài ra tiêu đề mail cũng cần để ý, tranh các từ bạn đang sử dụng: "Hi", "pls". 


Cảm ơn bạn đã giúp đỡ. Mình phải chỉnh các thông số đó ở đâu ?
Vậy là nguyên nhân vì sao, xin anh/chị giúp đỡ.

hoanglan87 wrote:
Công ty của bạn có thuê ip tĩnh không? nếu server gửi mail mà không có ip tĩnh thì chắc chắn sẽ bị đánh dấu là spam. 


Bên em sử dụng IP tĩnh (Lúc đăng ký gói cáp quang của Viettel thì được tặng kèm). Trường hợp em muốn thuê IP tĩnh và "sạch" thì em nên thuê bên nào ah ?
Hi anh/chị,


Công ty em dùng một đường truyền internet của viettel và tự cài đặt một server mail. Hiện tại toàn bộ mail gởi từ server mail đều bị Yahoo, Gmail move vào spam. Những việc em đã làm:

- Tạo record SPF, DKIM, rDNS.
- Em có test trên các trang test blacklist và kết quả đây:




Code:
LHSBL-Test for tienphongauto.vn's MX --> mail.tienphongauto.vn with IP 115.78.95.103 (Alphabetic order)
0spam.fusionzero.com OK
aspews.ext.sorbs.net OK
b.barracudacentral.org OK
bl.mailspike.net OK
bl.spameatingmonkey.net OK
bl.spamcop.net OK
bl.spamcannibal.org OK
bl.tiopan.com No Result (No answer)
blackholes.five-ten-sg.com OK
blackholes.intersil.net OK
bogons.cymru.com OK
cbl.abuseat.org OK
combined.njabl.org No Result (SERVFAIL)
db.wpbl.info OK
dnsbl.ahbl.org Listed!
dnsbl.inps.de OK
dnsbl.justspam.org OK
dnsbl.mags.net OK
dnsbl.sorbs.net OK
dnsbl.rangers.eu.org OK
dnsbl-0.uceprotect.net OK
dnsbl-1.uceprotect.net OK
dnsbl-2.uceprotect.net Listed! See why
dnsbl-3.uceprotect.net OK
dyna.spamrats.com OK
ip.v4bl.org No Result (REFUSED)
ips.backscatterer.org OK
ix.dnsbl.manitu.net OK
l2.apews.org Listed! See why
no-more-funn.moensted.dk OK
noptr.spamrats.com OK
psbl.surriel.com OK
rbl.efnet.org OK
spam.abuse.ch OK
spam.dnsbl.anonmails.de OK
spam.spamrats.com OK
spamguard.leadmon.net OK
t1.dnsbl.net.au OK
tor.dan.me.uk OK
tor.dnsbl.sectoor.de OK
ubl.unsubscore.com OK
virbl.dnsbl.bit.nl OK
zen.spamhaus.org OK


- Nhưng rõ ràng một điều là IP của em không spam mà là em thuộc dãy IP bị liệt vào spam, với lại các hệ thống khác đều trả về kết quả OK. Vậy nguyên nhân vì sao em gởi mail vào Yahoo hoặc Gmail vẫn bị cho là spam và hướng khắc phục như thế nào ? Em rất mong anh/chị chỉ giúp em, cảm ơn rất nhiều.

Header Gmail:

Code:
Delivered-To: <a href="mailto:b.tram1105@gmail.com">b.tram1105@gmail.com</a>
Received: by 10.223.75.197 with SMTP id z5csp97620faj;
Mon, 15 Jul 2013 20:27:15 -0700 (PDT)
X-Received: by 10.68.196.134 with SMTP id im6mr56422820pbc.110.1373945235005;
Mon, 15 Jul 2013 20:27:15 -0700 (PDT)
Return-Path: <dienpt@tienphongauto.vn>
Received: from mail.tienphongauto.vn (tienphongauto.vn. [115.78.95.103])
by mx.google.com with ESMTP id tg10si34341193pbc.207.2013.07.15.20.27.12
for <b.tram1105@gmail.com>;
Mon, 15 Jul 2013 20:27:14 -0700 (PDT)
Received-SPF: pass (google.com: domain of <a href="mailto:dienpt@tienphongauto.vn">dienpt@tienphongauto.vn</a> designates 115.78.95.103 as permitted sender) client-ip=115.78.95.103;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of <a href="mailto:dienpt@tienphongauto.vn">dienpt@tienphongauto.vn</a> designates 115.78.95.103 as permitted sender) smtp.mail=dienpt@tienphongauto.vn;
dkim=pass header.i=@tienphongauto.vn
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=tienphongauto.vn;
s=TPA; t=1373945186; x=1374549986; q=dns/txt; h=DomainKey-Signature:
Received:Received:Date:From:To:Subject:MIME-Version:Content-Type:
Message-ID; bh=qTxXYVwGM8pD9fZUVVzTmhA8EfHtqdqkJ0TatEiUFwY=; b=Z
0A5+Dk69BsB+xqCTNV0fFPzdiJDUSoRKZS890sg5U9q3AUYs/zGOvuo0lWfZrwt+
tTexgDReIT1vUO1j1a2PywZLKJk2YrPeRFLD88P2yHtl3ROoZuKixTkG9TRV06kx
8GOSnWVCXKo8csVqW2gY+nnSj0Fe5Nhnyv34PcX5Iw=
DomainKey-Signature: a=rsa-sha1; s=TPA; d=tienphongauto.vn;
c=simple; q=dns; h=from:message-id;
b=bnU2fU02/HGNDPG6PboRHG73+yV4ktWFNlGA8GlhAtAJp7TulqFteS+B5zH+
GzhfbHrLf7k6We73/EeqxIV9Pr2BFnpTePDE8OGb6x5up0WppZGNL8jgG
DrEsO6EjBJD3eKN/64uy86xRAoUdpp2NOLlcwG6PaWlqHxQAUt3ukU=;
Received: from WorldClient by mail.tienphongauto.vn (MDaemon PRO v13.0.5)
with ESMTP id md50000000045.msg
for <b.tram1105@gmail.com>; Tue, 16 Jul 2013 10:26:26 +0700
X-Spam-Processed: mail.tienphongauto.vn, Tue, 16 Jul 2013 10:26:26 +0700
(not processed: message from trusted or authenticated source)
X-Authenticated-Sender: <a href="mailto:dienpt@tienphongauto.vn">dienpt@tienphongauto.vn</a>
X-Return-Path: <a href="mailto:dienpt@tienphongauto.vn">dienpt@tienphongauto.vn</a>
X-Envelope-From: <a href="mailto:dienpt@tienphongauto.vn">dienpt@tienphongauto.vn</a>
X-MDaemon-Deliver-To: <a href="mailto:b.tram1105@gmail.com">b.tram1105@gmail.com</a>
Received: by tienphongauto.vn via WorldClient with HTTP;
Tue, 16 Jul 2013 10:26:26 +0700
Date: Tue, 16 Jul 2013 10:26:26 +0700
From: "Phan Thanh Dien" <dienpt@tienphongauto.vn>
To: "b.tram1105@gmail.com" <b.tram1105@gmail.com>
Subject: Hi, pls to meet you.
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0716-0326-26-03-PART_BREAK"
Message-ID: <WC20130716032626.100007@tienphongauto.vn>
X-Mailer: WorldClient 13.0.5
--0716-0326-26-03-PART_BREAK
Content-Type: text/plain; charset="us-ascii"
Hi me
Just recieved my email then forward to email machine
--0716-0326-26-03-PART_BREAK
Content-Type: text/html; charset="us-ascii"
<html><body>
<div style="font-size: 13px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: normal; font-style: normal; background-image: none;
background-attachment: scroll; background-origin: padding-box;
background-clip: border-box; background-color: rgba(0, 0, 0, 0);
background-size: auto; background-position: 0% 0%; background-repeat: repeat
repeat;">
Hi me</div>
<div style="font-size: 13px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: normal; font-style: normal; background-image: none;
background-attachment: scroll; background-origin: padding-box;
background-clip: border-box; background-color: rgba(0, 0, 0, 0);
background-size: auto; background-position: 0% 0%; background-repeat: repeat
repeat;">
 </div>
<div style="font-size: 13px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: normal; font-style: normal; background-image: none;
background-attachment: scroll; background-origin: padding-box;
background-clip: border-box; background-color: rgba(0, 0, 0, 0);
background-size: auto; background-position: 0% 0%; background-repeat: repeat
repeat;">
Just recieved my email then forward to email machine</div>
</body></html>
--0716-0326-26-03-PART_BREAK--




Header Yahoo:
Code:
From Phan Thanh Dien Fri Jul 12 01:16:57 2013
X-Apparently-To: <a href="mailto:t_dien2000@yahoo.com">t_dien2000@yahoo.com</a> via 98.137.13.238; Fri, 12 Jul 2013 08:17:47 +0000
Return-Path: <dienpt@tienphongauto.vn>
X-YahooFilteredBulk: 115.78.95.103
Received-SPF: pass (domain of tienphongauto.vn designates 115.78.95.103 as permitted sender)
X-YMailISG: 4O6eIRMWLDuiUuQCbhjr9.KpRXWNM5UU2gSlRk92NAak5aUY
7ZcAxIkr62M0bWTO0N2eH9yxDQRdCI.avwRrS8CkEjVhen_iMdM3u3Ie3DK8
0tnkNe6W6Hxhu80AkC4w0gjmGdL9KP5YNUSGX28Qs22NN32FtFYaMC4s8XlT
XG9t0WgtmiHbh0rW6KDeSfcS2SxcYljzzK5vRKK8l2I2HkAZgzKpl_COYhJr
boQSq02IEFGrO0CAm_JTVKHFhyyP0T_0vMuk2_z0RW9IECMG1SY3HSJrTAC4
2NGPR9CDTUyKmUTONr7qDKNnmQ8sXvZaGQ0pgYf7L4xF3r4zUSjDv1PihV10
vLnzsg04q6vZE7qTMFhpUEf9AFo964iYkz.MXj9.AYl23kmEn6vEjsYAWSrx
pWd.I4kiEfIorUTmZawW1SNhBpU.EXrS4H9KlFmGDy.YkaMVv07kJ_56KkWy
s3o200hUB9Bf096HjaICm1p0JtsBkYFjPYvzXvt335czso84ePyB1Dv_O3lA
dzXgAD2k6v5zoO2fJIgW_MwnP7fY7NpUAH85GomAdk_eS970Ga0jelDHKWat
SbOqFYDlwiEDLO9eTljHxdB91W7w5A58chIyObGv4N7QAWq9pgwb5k.y_4nr
f7OjHkGskLBUnc3cy_MZ_3tAoldm2b2OHuuBq_naUgWPo3KBcshHKSzgzHrY
Z4CspK10f2pu8gs3e9DRXeoUyZi5L0rOOHrfWRL_Gu4DAtzB3nLgMoVy9FVS
__8ahGbfgKHzFomqTjEGT5_VLPxgIhaiO7MCbIRcK_9IiInZWgDmjTvNO82C
lXlJX0V5QC3LzrNfrRD.cnZ9s5rLZLS25cEFc5LBHM1V_43EoHyYefZNybKQ
98kgPUIsiqfGwBFLSVCv14pbKMqx.YcjPux6xsNx4R9SeDpudOetXF91OYr6
DAXN70OMNc1ZDPcngaq8g3q.k8jouiCcPMlm8xii1Y23DXpxDMuZh.f3TcNK
YHMrO_eWjpklsv5VRpLthjjeaSoU9DZSXXrRpwNMfVmEolhxTsyMaNKOWXig
DTqeGghiFlVE.JRXbWDuB2RZ1m9z3_RUtiMZATM5pLZLWulTWBZ5xU9xAt0R
r1_tbflWcC4m74kT56xLv7_oLijbl4SAm6D.kyGBKhBFADkLbBj6hpkAaYIn
2hgG_RsckGId8P362DVdz0dFS7ohwxCASu8csQ--
X-Originating-IP: [115.78.95.103]
Authentication-Results: mta1185.mail.ne1.yahoo.com from=tienphongauto.vn; domainkeys=pass (ok); from=tienphongauto.vn; dkim=pass (ok)
Received: from 127.0.0.1 (EHLO mail.tienphongauto.vn) (115.78.95.103)
by mta1185.mail.ne1.yahoo.com with SMTP; Fri, 12 Jul 2013 08:17:46 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=tienphongauto.vn;
s=MDaemon; t=1373617019; x=1374221819; q=dns/txt; h=DomainKey-Signature:
Received:Received:Date:From:To:Subject:MIME-Version:Content-Type:
Message-ID; bh=4jHE64Gq8QwCy1KOrDmRupgxTGyczzpaIDeb0cYjPjo=; b=1
3/yV9BAl5wgHBeFEEHLevypQIJzp99V0z9W1tsM0CLL8Svojv96DuBrNev1/Ik3N
qL2cErA2nozowTOm7W4fYKUIUUP9Sm5arZsGh8wNyu9YAQGPeDLB/ptKEVJxPm8D
aH0ee4uWtC9/ZfeXjHu9oTVj8PFwayKXMTGRIUsXVs=
DomainKey-Signature: a=rsa-sha1; s=MDaemon; d=tienphongauto.vn;
c=simple; q=dns; h=from:message-id;
b=1qb+b0nKo+PyKcs9XssfBo72NqDRpI8GhZc13R8NtntovAwujaC5CybyxSCH
UuwVsNntTfn5Y/tkbHayfR0pnWjfIBbRTOU7QcYxJ+r3CZuF8xDGqhu2Q
s4hFFTtkWlMsNw/msEL9+5WL7xU+m8oTVF1mTZMQxa1zS44MogxuBI=;
Received: from WorldClient by mail.tienphongauto.vn (MDaemon PRO v12.5.6)
with ESMTP id md50000000036.msg
for <t_dien2000@yahoo.com>; Fri, 12 Jul 2013 15:16:58 +0700
X-Spam-Processed: mail.tienphongauto.vn, Fri, 12 Jul 2013 15:16:58 +0700
(not processed: message from trusted or authenticated source)
X-Authenticated-Sender: <a href="mailto:dienpt@tienphongauto.vn">dienpt@tienphongauto.vn</a>
X-Return-Path: <a href="mailto:dienpt@tienphongauto.vn">dienpt@tienphongauto.vn</a>
X-Envelope-From: <a href="mailto:dienpt@tienphongauto.vn">dienpt@tienphongauto.vn</a>
X-MDaemon-Deliver-To: <a href="mailto:t_dien2000@yahoo.com">t_dien2000@yahoo.com</a>
Received: by tienphongauto.vn via WorldClient with HTTP;
Fri, 12 Jul 2013 15:16:57 +0700
Date: Fri, 12 Jul 2013 15:16:57 +0700
From: "Phan Thanh Dien" <dienpt@tienphongauto.vn>
To: <a href="mailto:t_dien2000@yahoo.com">t_dien2000@yahoo.com</a>
Subject: test mail
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0712-0816-57-03-PART_BREAK"
Message-ID: <WC20130712081657.43000D@tienphongauto.vn>
X-Mailer: WorldClient 12.5.6
Content-Length: 646
Chào mọi người, em có dùng một con server 2003, trên đó có chạy một số ứng dụng của cty. Thời gian gần đây phần mềm load hơi cao...mỗi lần như vậy thì làm phần mềm khác bị ảnh hưởng, em phải tự kill và start lại ứng dụng.

Điều em muốn hỏi là:
- Có phần mềm nào theo dõi được mức sử dụng tài nguyên (CPU, RAM ..)của phần mềm và sẽ tự động kill và restart khi mức sử dụng tài đạt ngưỡng do ta quy định. Em tìm trên google mấy ngày rồi mà chưa tìm ra. (Một phần mềm tương tự như Monit trên Linux ..)


Rất cảm ơn mọi người.
Em làm theo hướng dẫn này:

Link: http://www.bxtra.net/articles/2011-02-13/how-to-use-nginx-as-a-reverse-proxy-for-directadmin
Dạ em đã làm được rồi...tks anh đã giúp đỡ !
Nó vẫn báo vậy ! Tuy nhiên httpd đã start được, nhưng không load web được ...trình duyệt load rất lâu...và không trả về lỗi gì cả ...
Mình edit theo hướng dẫn của bạn thì httpd báo thế này:


[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:80 overlaps with VirtualHos t 112.78.15.104:80, the first has precedence, perhaps you need a NameVirtualHost direct ive
[Tue Mar 29 18:50:29 2011] [warn] VirtualHost 112.78.15.104:443 overlaps with VirtualHo st 112.78.15.104:443, the first has precedence, perhaps you need a NameVirtualHost dire ctive

 
Rất cảm ơn bạn đã giúp, mình sẽ test và báo kết quả khi xong smilie
Là do mình chưa restart httpd thôi..vì có một số web host trên server nên mình không để out lâu quá được, nếu bị lỗi mình phải tạm tắt nginx.

PS: Giờ phải về rồi nên phải tắt nginx để chạy được web...
Vẫn bị lỗi timeout bạn ơi.
PS: Trình duyệt không báo timeout nhưng cứ load hoài mà không hiển thị được trang web.
File httpd.conf của user uocmo



ServerRoot /etc/httpd



<VirtualHost 112.78.15.104:80> // Mình edit lại thế thành <VirtualHost *:8080>


ServerName www.uocmo.vn
ServerAlias www.uocmo.vn uocmo.vn
ServerAdmin webmaster@uocmo.vn
DocumentRoot /home/uocmo/domains/uocmo.vn/public_html
ScriptAlias /cgi-bin/ /home/uocmo/domains/uocmo.vn/public_html/cgi-bin/

UseCanonicalName OFF

SuexecUserGroup uocmo uocmo
CustomLog /var/log/httpd/domains/uocmo.vn.bytes bytes
CustomLog /var/log/httpd/domains/uocmo.vn.log combined
ErrorLog /var/log/httpd/domains/uocmo.vn.error.log

<Directory /home/uocmo/domains/uocmo.vn/public_html>
Options +Includes -Indexes

php_admin_flag engine ON
<IfModule !mod_php6.c>
php_admin_flag safe_mode OFF
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f uocmo@uocmo.vn'


php_admin_value open_basedir /home/uocmo/:/tmp:/var/tmp:/usr/local/lib/php/


</Directory>



</VirtualHost>



<VirtualHost 112.78.15.104:443>

SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key


ServerName www.uocmo.vn
ServerAlias www.uocmo.vn uocmo.vn
ServerAdmin webmaster@uocmo.vn
DocumentRoot /home/uocmo/domains/uocmo.vn/private_html
ScriptAlias /cgi-bin/ /home/uocmo/domains/uocmo.vn/public_html/cgi-bin/

UseCanonicalName OFF

SuexecUserGroup uocmo uocmo
CustomLog /var/log/httpd/domains/uocmo.vn.bytes bytes
CustomLog /var/log/httpd/domains/uocmo.vn.log combined
ErrorLog /var/log/httpd/domains/uocmo.vn.error.log

<Directory /home/uocmo/domains/uocmo.vn/private_html>
Options +Includes -Indexes

php_admin_flag engine ON
<IfModule !mod_php6.c>
php_admin_flag safe_mode OFF
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f uocmo@uocmo.vn'


php_admin_value open_basedir /home/uocmo/:/tmp:/var/tmp:/usr/local/lib/php/


</Directory>



</VirtualHost>
 
Tks bạn vì reply sớm. Lỗi cụ thể là khi load trang web nó báo time out.

Đúng là như bạn nói là trong file directadmin-vhost.conf có dạng như thế - Nó include một file httpd.conf, nhưng muốn đơn giản hơn nên mình lấy nội dụng trong file đó để đưa lên thôi.

Default Directadin (DA) dùng 4 script (nằm trong /usr/local/directadmin/data/templates/)sau để tạo httpd.conf cho từng user:
- virtual_host2.conf
- virtual_host2_secure.conf
- virtual_host2_secure_sub.conf
- virtual_host2_sub.conf 


Vậy mình phải làm sao để fix lỗi này...mình vẫn chưa biết nguyên nhân lỗi do đâu.
PS: Lỗi em nói ở trên là trang web không load được, không biết trong các file cấu hình ở trên em có làm sai gì không ? Mọi người xem giúp em. Cảm ơn rất nhiều.
Em mới tập tành sử dụng linux thôi, nên còn nhiều cái còn chưa biết, mong các anh giúp đỡ.

Vấn đề: Con Centos (share host) dùng apache và dùng directadmin để quản lý. Giờ em muốn dùng nginx làm reverse proxy để tăng tốc độ load cho các web...nhưng làm hoài vẫn bị lỗi, ai biết làm sao giúp em với.


File httpd.conf


ServerRoot "/etc/httpd"

Listen 127.0.0.1:8080

LoadModule php5_module /usr/lib/apache/libphp5.so
Include /etc/httpd/conf/extra/httpd-phpmodules.conf

User apache
Group apache

ServerAdmin admin@localhost
DocumentRoot "/var/www/html"

<Directory /home/*>
AllowOverride All
Options -MultiViews -Indexes FollowSymlinks IncludesNoExec +Includes
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

<Directory />
Options All
AllowOverride All
</Directory>

<Directory "/var/www/html">
Options -Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
<IfModule mod_suphp.c>
suPHP_Engine On
suPHP_UserGroup webapps webapps
SetEnv PHP_INI_SCAN_DIR
</IfModule>
</Directory>

<IfModule dir_module>
DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi
</IfModule>

<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>

ErrorLog /var/log/httpd/error_log
LogLevel warn

<IfModule log_config_module>
#replace %b with %O for more accurate logging
<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%O" bytes

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>

CustomLog /var/log/httpd/access_log common
</IfModule>

<IfModule alias_module>
# Include some DirectAdmin alias
Include conf/extra/httpd-alias.conf
</IfModule>

<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

DefaultType text/plain

<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-gzip .tgz
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType video/x-ms-asf .avi
AddType video/mpeg .mpg
AddType video/mpeg .mpeg
AddType video/quicktime .mov
AddType video/x-ms-wmv .wmv
</IfModule>

#EnableMMAP off
#EnableSendfile off

#######################################################################################
# Do not change anything in included files, because they are rewritten by DirectAdmin #
#######################################################################################

# This is needed for PHP
Include conf/extra/httpd-php-handlers.conf

# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf

# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
Include conf/extra/httpd-autoindex.conf

# Language settings
Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf

# Various default settings
Include conf/extra/httpd-default.conf

# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf

# Deflate module settings
Include conf/extra/httpd-deflate.conf

# All the DirectAdmin vhosts
Include conf/extra/directadmin-vhosts.conf

# All suPHP directives
Include conf/extra/httpd-suphp.conf

# For user configurations not maintained by DirectAdmin. Empty by default.
Include conf/extra/httpd-includes.conf

#######################################################################################
# End of included files that are rewritten by DirectAdmin #
#######################################################################################

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
 



File httpd-vhosts.conf

Include /etc/httpd/conf/ips.conf
<VirtualHost *.8080>
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
 



File directadmin-vhosts.conf

ServerRoot /etc/httpd

<VirtualHost *:8080>


ServerName www.mydomain.com
ServerAlias www.mydomain.com mydomain.com
ServerAdmin webmaster@mydomain.com
DocumentRoot /home/mydomain/domains/public_html
ScriptAlias /cgi-bin/ /home/mydomain/domains/public_html/cgi-bin/

UseCanonicalName OFF

SuexecUserGroup site site
ErrorLog /var/log/httpd/domains/error.log

<Directory /home/mydomain/domains/public_html>
Options +Includes -Indexes

php_admin_flag engine ON
<IfModule !mod_php6.c>
php_admin_flag safe_mode OFF
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f iosha789@mydomain.com'


php_admin_value open_basedir /home/mydomain/domains/:/tmp:/var/tmp:/usr/local/lib/php/


</Directory>



</VirtualHost>

 


File nginx.conf



user nginx nginx;
worker_processes 2;

error_log /var/log/nginx/error.log;

pid /var/run/nginx.pid;


events {
worker_connections 1024;
}


http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main;

sendfile on;
tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

gzip on;
include /etc/nginx/conf.d/*.conf;

server {
listen 80;
server_name _;

location / {
proxy_pass http://127.0.0.1:8080;
include /etc/nginx/proxy.conf;
}


}

include /etc/nginx/sites/*.conf;

}
 


File /etc/nginx/sites/vhost.conf


server {
listen 80;
server_name www.mydomain.com mydomain.com;

location / {
proxy_pass http://127.0.0.1:8080;
include /etc/nginx/proxy.conf;
}

location ~* ^.+.(jpeg|jpg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|swf|avi|mp3)$ {
expires 30d;
root /home/mydomain/domains/public_html/;
}
}
 


PS: Lỗi em nói ở trên là trang web không load được, không biết trong các file cấu hình ở trên em có làm sai gì không ? Mọi người xem giúp em. Cảm ơn rất nhiều.

bolzano_1989 wrote:

longlongVjp wrote:
em dùng ALc roi mà có đc. đâu... 

Thế Alcohol báo lỗi gì nào ? 


Trường hợp này mình cũng gặp rồi !

Mình cũng đã thử bằng alcohol 120% nó cứ báo không đọc được sector........rồi đơ luôn.
 
Go to Page:  Page 2 Last Page

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|