• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Các trường trong file httpd.conf

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Các trường trong file httpd.conf

    Bác nào pro giải thích dùm e mấy trường trong file httpd.conf Có một số trường không hiểu?

    1. ServerTokens OS
    2. PidFile run/httpd.pid
    3. Timeout 120
    4. KeepAlive Off
    5. MaxKeepAliveRequests 100
    6. KeepAliveTimeout 15
    7. <IfModule prefork.c>
    StartServers 8
    MinSpareServers 5
    MaxSpareServers 20
    ServerLimit 256
    MaxClients 256
    MaxRequestsPerChild 4000

    8.<IfModule worker.c>
    StartServers 2
    MaxClients 150
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadsPerChild 25
    MaxRequestsPerChild 0
    </IfModule>

    9. Listen 80
    10. UseCanonicalName Off
    11. <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>

    Vẫn còn nhiều tham số khác nữa. Mong mọi người giải thích. Nếu các bác hỏi tại sao không đọc tiếng anh. Thì e đã đọc hết rùi. Nhưng vẫn chưa hiểu kỹ cho lắm. Thanks!!!!!!!!!!

  • #2
    Một số là những "trường" nào?
    Chẳng ai đi ngồi giải thích cho hết những cái bạn nêu đâu: thừa.
    Nguyễn Hữu Nghị
    Tel: 84-98-221-9103
    Yahoo ID: hnlovefor

    Comment


    • #3
      Originally posted by banga View Post
      Bác nào pro giải thích dùm e mấy trường trong file httpd.conf Có một số trường không hiểu?

      1. ServerTokens OS
      2. PidFile run/httpd.pid
      3. Timeout 120
      4. KeepAlive Off
      5. MaxKeepAliveRequests 100
      6. KeepAliveTimeout 15
      7. <IfModule prefork.c>
      StartServers 8
      MinSpareServers 5
      MaxSpareServers 20
      ServerLimit 256
      MaxClients 256
      MaxRequestsPerChild 4000

      8.<IfModule worker.c>
      StartServers 2
      MaxClients 150
      MinSpareThreads 25
      MaxSpareThreads 75
      ThreadsPerChild 25
      MaxRequestsPerChild 0
      </IfModule>

      9. Listen 80
      10. UseCanonicalName Off
      11. <Directory />
      Options FollowSymLinks
      AllowOverride None
      </Directory>

      Vẫn còn nhiều tham số khác nữa. Mong mọi người giải thích. Nếu các bác hỏi tại sao không đọc tiếng anh. Thì e đã đọc hết rùi. Nhưng vẫn chưa hiểu kỹ cho lắm. Thanks!!!!!!!!!!


      Chu y, khi na`o ba.n optimize server cua? ban thi` moi ne^n thay doi gia' tri. trong httpd.conf, binh thuong default thi chay tot roi. Nhung gia' tri. do phu. thuoc vao tung server va tung truong hon nen rat khac nhau. Vi du: Maxclient 256, ban co the doi MaxClient 512, khi server cua ban busy.

      Comment

      Working...
      X