[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Lenny Apache2: ReverseProxy -> https -> http://localhost:port



hi,

I don't know, whats the problem: My ReverseProxy works with non-ssl to
non-ssl, but not from ssl  to non-ssl:

==================

NameVirtualHost 1.2.3.4:443
<VirtualHost 1.2.3.4:443>
        ServerAdmin webmaster@foobar.bla
        ServerName www.foobar.bla
        SSLEngine on
        SSLCertificateFile "/etc/ssl/certs/foobar-www.pem"
        SSLCertificateKeyFile "/etc/ssl/private/foobar-www.pem"
        SetOutputFilter proxy-html
#       SSLProxyEngine on

ErrorLog /var/www/user/websites/foobar.bla/log/error-ssl.log
CustomLog /var/www/user/websites/foobar.bla/log/access-ssl.log combined
php_admin_flag engine on 
php_admin_value open_basedir
"/var/www/user/websites/foobar.bla/htdocs/:/var/www/user/websites/foobar.bla/tmp/:/usr/share/pear:/usr/share/php/:."
php_admin_value upload_tmp_dir "/var/www/user/websites/foobar.bla/tmp/"
php_admin_value session.save_path
"/var/www/user/websites/foobar.bla/tmp/"

        DocumentRoot /var/www/user/websites/foobar.bla/htdocs/

        ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
        Alias /pipermail/ /var/lib/mailman/archives/public/
        Alias /images/mailman/ /usr/share/images/mailman/

        <Directory /var/www/user/websites/foobar.bla/htdocs/>
        AllowOverride All
        Order allow,deny
        Allow from all
        </Directory>

ProxyRequests Off
  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>

 ProxyPass /calendars/ http://localhost:8008/calendars/ 
 ProxyPassReverse /calendars/ http://localhost:8008/calendars/
 ProxyPass /principals/ http://localhost:8008/principals/ 
 ProxyPassReverse /principals/ http://localhost:8008/principals/

</VirtualHost>

===========================

The exactly same lines, works for the non-ssl virtual host. the log
says, 

"File does not
exist: /var/www/user/websites/foobar.bla/htdocs/calendars"

the best: if you type in" https://foobar.bla/calendars/user/foobar/...";

the log says only: "File does not
exist: /var/www/user/websites/foobar.bla/htdocs/calendars"


Very strange. The proxy Enginge doesn't start, with https ...

any suggestions?

Please note: I want to https -> http, not https -> https :-)

cu denny

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: