# 主机名 #
ServerName 11.nd
# 主机别名 #
ServerAlias 127.0.0.1
# 管理员邮件 #
ServerAdmin root@localhost
# 安全重写规则 #
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
# 启动或禁止 PHP 引擎 #
php_admin_flag engine on
AddType application/x-httpd-php .php
#PHP 路径限制#
php_admin_value open_basedir "D:/usr/tmp;D:/usr/www/localhost/public_html"
# 文档目录 #
DocumentRoot D:/usr/www/localhost/public_html
Options Indexes FollowSymLinks
AllowOverride All
order allow,deny
Allow from all
# CGI 脚本目录 #
ScriptAlias /cgi-bin "D:/usr/www/localhost/cgi-bin"
AllowOverride None
Options None
order allow,deny
Allow from all
# 允许执行的 CGI 扩展名 #
AddHandler cgi-script .cgi .pl
#自定义出错页面
ErrorDocument 404 /404.htm
# 日志 #
CustomLog D:/usr/www/localhost/logs/access.log common
# 主机名 #
ServerName www.33.nd
# 主机别名 #
ServerAlias 33.nd
# 管理员邮件 #
ServerAdmin root@localhost
# 安全重写规则 #
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
# 启动或禁止 PHP 引擎 #
php_admin_flag engine on
AddType application/x-httpd-php .php
#PHP 路径限制#
php_admin_value open_basedir "e:/php"
# 文档目录 #
DocumentRoot e:/php
Options Indexes FollowSymLinks
AllowOverride All
order allow,deny
Allow from all
#自定义出错页面
ErrorDocument 404 /404.htm
# 日志 #
CustomLog D:/usr/www/localhost/logs/access.log common
# 主机名 #
ServerName www.22.nd
# 主机别名 #
ServerAlias 22.nd
# 管理员邮件 #
ServerAdmin root@localhost
# 安全重写规则 #
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
# 启动或禁止 PHP 引擎 #
php_admin_flag engine on
AddType application/x-httpd-php .php
#PHP 路径限制#
php_admin_value open_basedir "g:/php"
# 文档目录 #
DocumentRoot g:/php
Options Indexes FollowSymLinks
AllowOverride All
order allow,deny
Allow from all
#自定义出错页面
ErrorDocument 404 /404.htm
# 日志 #
CustomLog D:/usr/www/localhost/logs/access.log common