apache 局域网访问配置方案第1/2页

2019-10-15 22:06:41于丽


AccessFileName .htaccess  

 

#  

# ServerTokens  

# This directive configures what you return as the Server HTTP response  

# Header. The default is 'Full' which sends information about the OS-Type  

# and compiled in modules.  

# Set to one of:  Full | OS | Minor | Minimal | Major | Prod  

# where Full conveys the most information, and Prod the least.  

#   

ServerTokens Full  

 

#  

# Optionally add a line containing the server version and virtual host  

# name to server-generated pages (internal error documents, FTP directory   

# listings, mod_status and mod_info output etc., but not CGI generated   

# documents or custom error documents).  

# Set to "EMail" to also include a mailto: link to the ServerAdmin.  

# Set to one of:  On | Off | EMail  

#   

ServerSignature On  

 

#  

# HostnameLookups: Log the names of clients or just their IP addresses  

# e.g., www.apache.org (on) or 204.62.129.132 (off).  

# The default is off because it'd be overall better for the net if people  

# had to knowingly turn this feature on, since enabling it means that  

# each client request will result in AT LEAST one lookup request to the  

# nameserver.  

#   

HostnameLookups Off  

 

#  

# Dynamic Shared Object (DSO) Support  

#  

# To be able to use the functionality of a module which was built as a DSO you  

# have to place corresponding `LoadModule' lines at this location so the