Some doubts about the setting of apache 2.4.3, ask for help!

Alles, was den Apache betrifft, kann hier besprochen werden.

Some doubts about the setting of apache 2.4.3, ask for help!

Postby phper2000 » 12. September 2012 08:52

Centos 6.2, Apache 2.4.3,php-fpm(php 5.4)

(1)when visit the website, apache reports(access_log):
xxx.xxx.xxx.xxx - - [12/Sep/2012:15:10:31 +0800] "-" 408 -
xxx.xxx.xxx.xxx - - [12/Sep/2012:15:10:31 +0800] "-" 408 -
...
However I can use wget order to download the webpage

(2) Besides,is it related to the setting: httpd.conf ServerName?, Should the "httpd.conf ServerName" must be the same as hostname?
Just like this:
Code: Select all
    #hostname
   www.test.com

   httpd.conf
    ServerName   www.test.com:80


(4)Is it necessary to add /etc/hosts 221.23.33.33(external network address) www.test.com
phper2000
 
Posts: 2
Joined: 12. September 2012 08:38
XAMPP Version: 5.6.3
Operating System: centos

Return to Apache

Who is online

Users browsing this forum: No registered users and 2 guests