httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Berizzi" <pupi...@hotmail.com>
Subject [users@httpd] proxy: error reading status line from remote server
Date Mon, 15 May 2006 08:34:07 GMT
Hello everybody.
I have configured httpd 2.2.2 on a slackware linux 10.2 as
a reverse https proxy in front of a exchange outlook web
access 2003sp2 (windows 2003sp1).
I'm getting these errors (quite often):
proxy: error reading status line from remote server 3.3.3.33, referer: 
https://mail.XXX.YY/exchange/rcalderoli/?Cmd=navbar
proxy: Error reading from remote server returned by /exchange/rcalderoli/, 
referer: https://mail.XXX.YY/exchange/rcalderoli/?Cmd=navbar
Hints?

Here is my httpd-ssl.conf:

Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl
SSLSessionCache        shmcb:/var/run/ssl_scache(512000)
SSLSessionCacheTimeout  300
SSLMutex  file:/var/run/ssl_mutex

<VirtualHost mail.mydomain.it:443>
DocumentRoot "/var/www/htdocs"
ServerName mail.mydomain.it:443
ServerAdmin postmaster@mydomain.it
ErrorLog /var/log/apache/error_ssl_owa_log
TransferLog /var/log/apache/access_ssl_owa_log
RequestHeader set Front-End-Https "On"
SSLEngine on
SSLCipherSuite 
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/apache/apacheCERT.pem
SSLCertificateKeyFile /etc/apache/apacheREQ.pem
<FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/var/www/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>
BrowserMatch ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0
CustomLog /var/log/apache/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
ProxyRequests off
ProxyPreserveHost On
    ProxyPass /exchange http://3.3.3.33/exchange/
    ProxyPassReverse /exchange http://3.3.3.33/exchange/
    ProxyPass /exchweb http://3.3.3.33/exchweb/
    ProxyPassReverse /exchweb http://3.3.3.33/exchweb/
    ProxyPass /public http://3.3.3.33/public/
    ProxyPassReverse /public http://3.3.3.33/public/
    ProxyPass /rpc http://3.3.3.33/rpc/
    ProxyPassReverse /rpc http://3.3.3.33/rpc/
    ProxyPass /iisadmpwd http://3.3.3.33/iisadmpwd/
    ProxyPassReverse /iisadmpwd http://3.3.3.33/iisadmpwd/
    ProxyPass /exchangeiisadmpwd http://3.3.3.33/iisadmpwd/
    ProxyPassReverse /exchangeiisadmpwd http://3.3.3.33/iisadmpwd/
</VirtualHost>


here is my httpd.conf

ServerRoot "/usr"
Listen 80
LoadModule authn_file_module libexec/apache/mod_authn_file.so
LoadModule authn_dbm_module libexec/apache/mod_authn_dbm.so
LoadModule authn_anon_module libexec/apache/mod_authn_anon.so
LoadModule authn_dbd_module libexec/apache/mod_authn_dbd.so
LoadModule authn_default_module libexec/apache/mod_authn_default.so
LoadModule authz_host_module libexec/apache/mod_authz_host.so
LoadModule authz_groupfile_module libexec/apache/mod_authz_groupfile.so
LoadModule authz_user_module libexec/apache/mod_authz_user.so
LoadModule authz_dbm_module libexec/apache/mod_authz_dbm.so
LoadModule authz_owner_module libexec/apache/mod_authz_owner.so
LoadModule authz_default_module libexec/apache/mod_authz_default.so
LoadModule auth_basic_module libexec/apache/mod_auth_basic.so
LoadModule auth_digest_module libexec/apache/mod_auth_digest.so
LoadModule dumpio_module libexec/apache/mod_dumpio.so
LoadModule ext_filter_module libexec/apache/mod_ext_filter.so
LoadModule include_module libexec/apache/mod_include.so
LoadModule filter_module libexec/apache/mod_filter.so
LoadModule deflate_module libexec/apache/mod_deflate.so
LoadModule log_config_module libexec/apache/mod_log_config.so
LoadModule logio_module libexec/apache/mod_logio.so
LoadModule env_module libexec/apache/mod_env.so
LoadModule expires_module libexec/apache/mod_expires.so
LoadModule headers_module libexec/apache/mod_headers.so
LoadModule ident_module libexec/apache/mod_ident.so
LoadModule setenvif_module libexec/apache/mod_setenvif.so
LoadModule proxy_module libexec/apache/mod_proxy.so
LoadModule proxy_connect_module libexec/apache/mod_proxy_connect.so
LoadModule proxy_ftp_module libexec/apache/mod_proxy_ftp.so
LoadModule proxy_http_module libexec/apache/mod_proxy_http.so
LoadModule proxy_ajp_module libexec/apache/mod_proxy_ajp.so
LoadModule proxy_balancer_module libexec/apache/mod_proxy_balancer.so
LoadModule ssl_module libexec/apache/mod_ssl.so
LoadModule mime_module libexec/apache/mod_mime.so
LoadModule status_module libexec/apache/mod_status.so
LoadModule autoindex_module libexec/apache/mod_autoindex.so
LoadModule asis_module libexec/apache/mod_asis.so
LoadModule info_module libexec/apache/mod_info.so
LoadModule cgi_module libexec/apache/mod_cgi.so
LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so
LoadModule negotiation_module libexec/apache/mod_negotiation.so
LoadModule dir_module libexec/apache/mod_dir.so
LoadModule imagemap_module libexec/apache/mod_imagemap.so
LoadModule actions_module libexec/apache/mod_actions.so
LoadModule speling_module libexec/apache/mod_speling.so
LoadModule userdir_module libexec/apache/mod_userdir.so
LoadModule alias_module libexec/apache/mod_alias.so
LoadModule rewrite_module libexec/apache/mod_rewrite.so

<IfModule !mpm_netware_module>
User daemon
Group daemon
</IfModule>

ServerAdmin you@example.com

DocumentRoot "/var/www/htdocs"

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

<Directory "/var/www/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all

</Directory>

<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>

<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>

ErrorLog /var/log/apache/error_log

LogLevel warn

<IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
\"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    CustomLog /var/log/apache/access_log common
</IfModule>

<IfModule alias_module>
    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>

<IfModule cgid_module>
</IfModule>

<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

DefaultType text/plain

<IfModule mime_module>
    TypesConfig /etc/apache/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
</IfModule>

Include /etc/apache/extra/httpd-autoindex.conf
Include /etc/apache/extra/httpd-vhosts.conf
Include /etc/apache/extra/httpd-default.conf
Include /etc/apache/extra/httpd-ssl.conf
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>


and here is my httpd-vhosts.conf

NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot /www/docs/dummy-host.example.com
    ServerName dummy-host.example.com
    ServerAlias www.dummy-host.example.com
    ErrorLog /var/log/apache/dummy-host.example.com-error_log
    CustomLog /var/log/apache/dummy-host.example.com-access_log common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host2.example.com
    DocumentRoot /www/docs/dummy-host2.example.com
    ServerName dummy-host2.example.com
    ErrorLog /var/log/apache/dummy-host2.example.com-error_log
    CustomLog /var/log/apache/dummy-host2.example.com-access_log common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin postmaster@mydomain.it
    ServerName mail.mydomain.it
    ErrorLog /var/log/apache/dummy-host.example.com-error_log
    CustomLog /var/log/apache/dummy-host.example.com-access_log common
    Redirect / https://mail.mydomain.it/exchange
</VirtualHost>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message