我有Ubuntu14.04LTS、Apache2.4.7、Python2.7.6和AjaxTerm0.10-12ubuntu1。Ajaxterm通过Apache代理。
以下是apache.conf节选:
# Suppresses the Via header
ProxyVia Off
# Do not flood the log
#CustomLog /var/log/apache2/access.log combined env=!dontlog
#SetEnvIf Request_URI "^/ajaxterm/u" dontlog
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /ajaxterm/ http://localhost:8022/ retry=0
ProxyPassReverse /ajaxterm/ http://localhost:8022/ retry=0
在最初安装时,Ajaxterm运行良好。然而,现在它使用的是比例字体:
我已经卸载并重新安装了它,但是我不知道问题出在哪里。浏览器控制台或网络检查器中没有出现错误。
发布于 2014-09-06 22:39:29
一个对我有用的临时答案是将浏览器的默认字体更改为单空格字体。作为一个长期的解决方案,这很糟糕,但它确实暗示了这个问题与ajaxterm有关,因为它建议浏览器使用单一字体。还在调查。
pre.stat {
margin: 0px;
padding: 4px;
display: block;
font-family: monospace;
white-space: pre;
background-color: black;
border-top: 1px solid black;
color: white;
}
https://unix.stackexchange.com/questions/144776
复制相似问题