用apache设置ajaxterm

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

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

https://开头本地主机/ 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"] 

遵循这个指导帮助。 http://antony.lesuisse.org/software/ajaxterm/

是的,呃,看你的日志。 你没有configurationmod_security。 SecDataDir必须指向某处。