apache 绑定域名方法,用作记录以防以后用到

D:\wwwroot\Apache-22\conf\extra\httpd-vhosts.conf

<VirtualHost *>
<Directory “D:/wwwroot/htdocs/askzjgbk”>
Options -Indexes FollowSymLinks
Allow from all
AllowOverride All
</Directory>
ServerAdmin admin@www.aiwebcom.com
DocumentRoot “D:/wwwroot/htdocs/askzjgbk”
ServerName www.aiwebcom.com:80
ServerAlias askzj.com
CustomLog “|bin/rotatelogs.exe -l D:/wwwroot/htdocs/askzjgbk/logs/home_%Y-%m-%d.log 86400″ combined
php_admin_value open_basedir “D:\wwwroot\htdocs\askzjgbk;C:\WINDOWS\Temp;”
</VirtualHost>

   
© 2012 Ai-WEB的博客 Suffusion theme by Sayontan Sinha