ITeye博客

apache

gyfmp5 · 2007-08-07 23:10 · ubuntu · Apache · BBS · Access · Markdown

/etc/apache2/sites-available/site1.xxxx.com

<VirtualHost *>
        ServerAdmin webmaster@localhost
        ServerName http://www.my4j.com
        CustomLog  /var/log/apache2/bbs.my4j.com-access.log combined
        DocumentRoot /var/www/my4j/
        <Directory /var/www/my4j/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride all
                Order allow,deny
                allow from all
        </Directory>
</VirtualHost>

ln -s /etc/apache2/sites-available/site1.xxxx.com /etc/apache2/sites-enabled/site1.xxxx.com

/etc/init.d/apache2 force-reload

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。