|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
虽然Linux桌面应用发展很快,但是命令在Linux中依然有很强的生命力。Linux是一个命令行组成的操作系统,精髓在命令行。
#
#VirtualHosts
#
#Ifyouwanttomaintainmultipledomains/hostnamesonyour
#machineyoucansetupVirtualHostcontainersforthem.Mostconfigurations
#useonlyname-basedvirtualhostssotheserverdoesntneedtoworryabout
#IPaddresses.Thisisindicatedbytheasterisksinthedirectivesbelow.
#
#Pleaseseethedocumentationat
#<URL:http://httpd.apache.org/docs/2.2/vhosts/>
#forfurtherdetailsbeforeyoutrytosetupvirtualhosts.
#
#Youmayusethecommandlineoption-Stoverifyyourvirtualhost
#configuration.
#
#Usename-basedvirtualhosting.
#
NameVirtualHost*:81
NameVirtualHost*:82
NameVirtualHost*:83
NameVirtualHost*:84
NameVirtualHost*:85
NameVirtualHost*:86
#
#VirtualHostexample:
#AlmostanyApachedirectivemaygointoaVirtualHostcontainer.
#ThefirstVirtualHostsectionisusedforallrequeststhatdonot
#matchaServerNameorServerAliasinany<VirtualHost>block.
#
<VirtualHost*:81>
ServerAdminjsw7001@hotmail.com
DocumentRootD:/AppServ/www/www-nongye
ServerNamewww.dede.com
ErrorLogD:/AppServ/www/www-nongye/errornongye.log
CustomLoglogs/dummy-host2.appservnetwork.com-access_logcommon
</VirtualHost>
<VirtualHost*:82>
<Directory"D:/AppServ/www-chinaec">
OptionsFollowSymLinks
#Denyfromall
Allowfromall
</Directory>
ServerAdminjsw7001@hotmail.com
DocumentRootD:/AppServ/www-chinaec
ServerNamewww.dede.com
DirectoryIndexindex.phpindex.html
ErrorLogD:/AppServ/www-chinaec/errornongjiale.log
CustomLoglogs/dummy-host2.appservnetwork.com-access_logcommon
</VirtualHost>
<VirtualHost*:83>
ServerAdminjsw7001@hotmail.com
DocumentRootD:/AppServ/www/www-05110
ServerNamewww.dede.com
ErrorLogD:/AppServ/www/www-05110/errornong05110.log
CustomLoglogs/dummy-host2.appservnetwork.com-access_logcommon
</VirtualHost>
<VirtualHost*:84>
ServerAdminjsw7001@hotmail.com
DocumentRootD:/AppServ/www/wordpress
ServerNamewww.dede.com
ErrorLogD:/AppServ/www/wordpress/errornongwordpress.log
CustomLoglogs/dummy-host2.appservnetwork.com-access_logcommon
</VirtualHost>
<VirtualHost*:85>
ServerAdminjsw7001@hotmail.com
DocumentRootD:/AppServ/www/magento
ServerNamewww.dede.com
ErrorLogD:/AppServ/www/magento/errormagento.log
CustomLoglogs/dummy-host2.appservnetwork.com-access_logcommon
</VirtualHost>
<VirtualHost*:86>
ServerAdminjsw7001@hotmail.com
DocumentRootD:/AppServ/www/magento1322
ServerNamewww.dede.com
ErrorLogD:/AppServ/www/magento1322/errormagento1322.log
CustomLoglogs/dummy-host2.appservnetwork.com-access_logcommon
</VirtualHost>
<VirtualHost*:88>
ServerAdminjsw7001@hotmail.com
DocumentRootD:/AppServ/www/www-nongjiale
ServerNamewww.dede.com
ErrorLogD:/AppServ/www/www-nongjiale/errornongjiale.log
CustomLoglogs/dummy-host2.appservnetwork.com-access_logcommon
</VirtualHost>
<VirtualHost*:80>
ServerAdminwebmaster@dummy-host2.x
DocumentRoot"C:/Apache2.2/docs/dummy-host2.x"
ServerNamedummy-host2.x
ErrorLog"logs/dummy-host2.x-error.log"
CustomLog"logs/dummy-host2.x-access.log"common
</VirtualHost>
但不会命令而成为高手也是不可能的.这就好比学英语,什么语法都不懂,只捧着单词手册背单词是学不会英语的,但是没有单词词汇量英语水平也提不高的。 |
|