From: Mark J. A. <mar...@gm...> - 2009-02-22 00:18:17
|
Hi, I have two proxies, one on the internal network(port 80), and one remote (port 443). both are apache 2.2.8 configured to use mod_proxy and both were tested allowing CONNECT. From an internal client, my ssh config looks like this: Host mysshhost ProxyCommand proxytunnel -v -p 10.10.8.2:80 -r http//www.mysshhost.com:443 -d www.mysshhost.com:22 -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n" ServerAliveInterval 30 When I do ssh mysshhost, I get the following in my apache proxy log: [error] [client 10.10.8.3] request failed: error reading the headers which oviously tells there's something wrong with the header specification.. Any idea how to correct this? Internal Proxy config: <virtualhost *:80> ServerAdmin webmaster@localhost AllowConnect 443 22 2022 8080 HostnameLookups On DocumentRoot /var/www/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> ErrorLog /var/log/apache2/proxy-error.log TransferLog /var/log/apache2/proxy-transfer.log LogLevel debug ProxyBadHeader StartBody </virtualhost> |