亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

web - ubuntu下apache2.4配置多站點問題
伊謝爾倫
伊謝爾倫 2017-04-24 09:13:27
0
1
719

在apache2.4下配置了如下代碼文件
但是apache報錯
(另外網(wǎng)上教程說綁定host文件,我并不知道這是什么東西。。)

配置部分代碼如下
apache2.conf
Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf
NameVirtualHost smilencer.me<VirtualHost 138.68.12.160:80>

ServerName www.smilencer.me
DocumentRoot "/var/www/wordpress"
 <Directory "/var/www/wordpress">
 Options FollowSymLinks 
 AllowOverride All 
 Require all granted 

</Directory>
</VirtualHost>
<VirtualHost 138.68.12.160:80>

ServerName www.whatare.me
DocumentRoot "/var/www/What_Are_You_Doing/map"

<Directory "/var/www/What_Are_You_Doing/map">

 Options FollowSymLinks 
 AllowOverride All 
 Require all granted 

</Directory>
</VirtualHost>

NameVirtualHost whatare.me

mytest.conf

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無限,來學(xué)PHP伐。

reply all(1)
伊謝爾倫

Here is a reference for you, you can replace it with your own domain name[YOUR_DOMAIN_NAME]

<VirtualHost *:80>
    ServerAdmin admin@[YOUR_DOMAIN_NAME].com
    DocumentRoot "/var/www/dev/doc"
    ServerName [YOUR_DOMAIN_NAME].com
    ServerAlias [YOUR_DOMAIN_NAME].com
    ErrorLog logs/[YOUR_DOMAIN_NAME].com-error_log
</VirtualHost>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template