我在一个ubuntu10.04服务器上安装了RoundCube,它在浏览地址时工作得很好。
不过,我想去mail.address.tld
为此,我添加了以下虚拟主机配置:
<VirtualHost mail.address.tld>
ServerAdmin webmaster@localhost
ServerName mail.address.tld/roundcube
DocumentRoot /var/www/roundcube
<Directory /var/www/roundcube>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/roundcube>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>圆周立方体页能够打开,但是PHP函数不能正常工作。我想解决这个问题。
发布于 2010-07-27 22:20:29
明白了!
我允许Apache中的符号链接
然后修改符号链接以指向javescript文件的完整路径。默认情况下,它使用的是相对路径。
ln -s /usr/share/javascript/jquery/jquery.min.js jquery-1.3.min.js感谢大家的帮助!
发布于 2010-07-23 09:16:30
看起来ServerName线是错的。只需删除末尾的"/roundcube“。
请使用以下内容并告诉我们,您在/var/log/yourdomain.error.log中的发现是什么。
<VirtualHost mail.address.tld>
ServerAdmin webmaster@localhost
ServerName mail.address.tld
DocumentRoot /var/www/roundcube
ErrorLog /var/log/yourdomain.error.log
</VirtualHost>https://serverfault.com/questions/163285
复制相似问题