#cd /etc/apache2/sites-available
#touch default-me
#vim default-me
内容:
Alias /me/ /wwwroot/
<Directory /wwwroot/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
#cd ../sites-enabled
#ln -s /opt/apache2/sites-available/default-me default-me
#/etc/init.d/apache2 restart
|----------------------------------------------------------------------------------------|
版权声明 版权所有 @zhyiwww
引用请注明来源 http://www.blogjava.net/zhyiwww
|----------------------------------------------------------------------------------------|
posted on 2010-05-24 19:38
zhyiwww 阅读(492)
评论(0) 编辑 收藏 所属分类:
linux