使用 apache 设置 ajaxterm

使用 apache 设置 ajaxterm

我的本地计算机上正在运行 ajaxterm。我想从远程计算机(虚拟机)访问它

我主要关注的是http://www.tbaumi.de/blog/?p=585导师

https://localhost/ajaxterm

  Colors   GET   Paste     Connection status:404

这是我的 httpd.conf 文件

NameVirtualHost *:443
<VirtualHost *:443>
 SSLEngine on
 SSLCertificateFile /etc/pki/tls/certs/ca.crt
 SSLCertificateKeyFile /etc/pki/tls/private/ca.key
 <Directory  /usr/share/ajaxterm >
        AllowOverride All
        </Directory>
        DocumentRoot  /usr/share/ajaxterm
# ErrorLog error_log.log
 #TransferLog access_log.log
 #ServerName 192.168.1.3
</VirtualHost>

cat /etc/httpd/conf.d/ssl.conf

</VirtualHost>                                  
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /ajaxterm http://localhost:8022
ProxyPassReverse /ajaxterm http://localhost:8022


      [Sat Jul 31 17:22:20 2010] [error] [client ::1] ModSecurity: Unable to retrieve   collection (name "global", key "global"). Use SecDataDir to define data directory first.   
[hostname "localhost"] [uri "/ajaxterm"] [unique_id "TFQOdH8AAAEAAE-nKKsAAAAG"]
       [Sat Jul 31 17:22:20 2010] [error] [client ::1] ModSecurity: Unable to retrieve collection (name "ip", key "::1"). Use SecDataDir to define data directory first. [hostname "localhost"] [uri "/ajaxterm"] [unique_id "TFQOdH8AAAEAAE-nKKsAAAAG"]
      [Sat Jul 31 17:22:20 2010] [error] [client ::1] ModSecurity: Unable to retrieve collection (name "global", key "global"). Use SecDataDir to define data directory first. [hostname "localhost"] [uri "/u"] [unique_id "TFQOdH8AAAEAAE-oKZQAAAAH"]
      [Sat Jul 31 17:22:20 2010] [error] [client ::1] ModSecurity: Unable to retrieve     collection (name "ip", key "::1"). Use SecDataDir to define data directory first. [hostname "localhost"] [uri "/u"] [unique_id "TFQOdH8AAAEAAE-oKZQAAAAH"]

答案1

遵循本指南很有帮助。 http://antony.lesuisse.org/software/ajaxterm/

答案2

是的,呃,读一下你的日志。你没有配置 mod_security。SecDataDir必须指向某个地方。

相关内容