更新到13.10后,Apache虚拟主机不再工作


25

我今天将kubuntu更新为13.10,以前运行良好的虚拟主机不再工作。

s2ensitea2dissite命令要求“网站XXXXXX并不存在”连文件都在网站-aviable并分别在网站启用我tryed从启用的网站,删除,然后重新启用它们,但仍阿帕奇声称他们就不会存在。

这是我的虚拟主机之一。他们基本上都是这样。

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    ServerName expsite.local

    DocumentRoot /var/www/expsite/htdocs
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory /var/www/expsite/htdocs/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride FileInfo
        Order allow,deny
        allow from all
    </Directory>

#   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
#   <Directory "/usr/lib/cgi-bin">
#       AllowOverride None
#       Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
#       Order allow,deny
#       Allow from all
#   </Directory>

        CustomLog /var/www/expsite/logs/access.log combined
        ErrorLog /var/www/expsite/logs/error.log
        LogLevel warn

#    Alias /doc/ "/usr/share/doc/"
#    <Directory "/usr/share/doc/">
#        Options Indexes MultiViews FollowSymLinks
#        AllowOverride None
#        Order deny,allow
#        Deny from all
#        Allow from 127.0.0.0/255.0.0.0 ::1/128
#    </Directory>

</VirtualHost>

000默认值正在工作,我可以启用和禁用它。


你可以看到下面的一个更完整的答案: askubuntu.com/questions/362682/...
mesutozer

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.