ubuntu-apache2多域名,二级域名

ServerAdmin [email protected]
<VirtualHost *:80>
ServerName www.dfutureworld.com
DocumentRoot /home/deepfuture/www
<Directory /> 
      Options ExecCGI FollowSymLinks 
      AllowOverride all 
      allow from all 
   Order allow,deny 
</Directory> 
ErrorLog /home/deepfuture/error-www.dfuturesoft.com.log 
</VirtualHost>

<VirtualHost *:80>
ServerName work.dfutureworld.com
DocumentRoot /home/deepfuture/work
<Directory /> 
     Options ExecCGI FollowSymLinks 
      AllowOverride all  
      allow from all 
      Order allow,deny 
</Directory> 
ErrorLog /home/deepfuture/error-www.dfuturesoft.com.log 
</VirtualHost>

<VirtualHost *:80>
ServerName service.dfutureworld.com
DocumentRoot /home/deepfuture/service
<Directory /> 
      Options ExecCGI FollowSymLinks 
      AllowOverride all 
      allow from all 
      Order allow,deny 
</Directory> 
ErrorLog /home/deepfuture/error-www.dfuturesoft.com.log 
</VirtualHost>

<VirtualHost *:80>
ServerName mysqladmin.dfutureworld.com
DocumentRoot /home/deepfuture/phpmyadmin
<Directory /> 
      Options ExecCGI FollowSymLinks 
      AllowOverride all 
      allow from all 
      Order allow,deny 
</Directory> 
ErrorLog /home/deepfuture/error-www.dfuturesoft.com.log 
</VirtualHost>

猜你喜欢

转载自deepfuture.iteye.com/blog/1208055
今日推荐