sunbird 发表于 2016-12-29 08:51:58

Apache threshold

  remove "#" for below lines in httpd.conf file:
  LoadModule info_module modules/mod_info.so
  LoadModule status_module modules/mod_status.so
  remove "#" for this line:
  Include conf/extra/httpd-info.conf
  it 's necessary to update the allows in httpd-info.conf below:
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from all
</Location>
  above red font means it allows everyone to visit this directory.
  search to : http://localhost:8080/server-status(?refresh=3)
  PASTE THE SCREENSHOT :
Apache Server Status for localhost
Server Version: Apache/2.2.25 (Win32)Server Built: Jul 10 2013 01:52:12Current Time: Wednesday, 14-Aug-2013 22:50:47 Öйú±ê׼ʱ¼äRestart Time: Wednesday, 14-Aug-2013 22:45:19 Öйú±ê׼ʱ¼äParent Server Generation: 0Server uptime: 5 minutes 28 seconds1 requests currently being processed, 63 idle workers######################################################To set apache VirtualHost:
NameVirtualHost localhost:8080

<VirtualHost localhost:8080>
    ServerName localhost
    ServerAlias localhost
    ServerPath "/zzt"
    DocumentRoot "E:/2013/zzt"
</VirtualHost>

<Directory "E:/2013/zzt">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>http://localhost:8080/zzt
页: [1]
查看完整版本: Apache threshold