ServerAdmin webmaster@localhost Serveralias www.pd87.com pd87.com xh2012.cn www.xh2012.cn DocumentRoot /var/www Options FollowSymLinks AllowOverride None Options FollowSymLinks Options MultiViews Options Indexes AllowOverride None Order allow,deny allow from all DirectoryIndex index.php index.html index.htm forum.php ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /doc/ "/usr/share/doc/" Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128