2007-08-07

apache

/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
评论
发表评论

您还没有登录,请登录后发表评论