[probably off-topic, as this mail deals with apache configuration]

Andreas Noback wrote:

Am 31.08.2005 um 12:17 schrieb Jörn Nettingsmeier:

Andreas Noback wrote:
Am 31.08.2005 um 11:36 schrieb Jörn Nettingsmeier:
Andreas Noback wrote:
hi,
I try authoring via https and I am getting error messages every-time i try to publish: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP"

<snip>

tomcat just close the connection. the alternate way throu apache gives me an error code 400.

are you using mod_jk and letting apache handle the ssl stuff?

if you are using apache as your front-end-server anyways, then i recommend using apache's ssl and run tomcat unencrypted on a local port.

my setup (for the dspace engine, but should be the same with lenya) looks like this:

<VirtualHost xx.xx.xx.xx:80>
        ServerName xxxxxxx.yyyyyyyy.zzz
        ServerAlias deadbeef
        DocumentRoot /srv/www/htdocs
# some services must use https:
        Redirect /dspace https://xxxxxxx.yyyyyyyy.zzz/dspace
        Redirect /wiki https://xxxxxxx.yyyyyyyy.zzz/wiki
        UserDir public_html
</VirtualHost>
<IfDefine SSL>
<VirtualHost *:443>
    ServerName xxxxxxx.yyyyyyyy.zzz
    ServerAlias deadbeef
    ErrorLog /var/log/apache2/error_log
    CustomLog /var/log/apache2/access_log combined
    DocumentRoot /srv/www/htdocs
    SSLEngine on
SSLCipherSuite \ ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCertificateFile /etc/apache2/ssl.crt/xxxxxxx.yyyyyyyy.zzz.crt
    SSLCertificateKeyFile /etc/apache2/ssl.key/xxxxxxx.yyyyyyyy.zzz.key
    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
    CustomLog /var/log/apache2/dspace/ssl_request_log \
              "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
</IfDefine>
<IfModule mod_jk.c>
    JkWorkersFile /etc/tomcat/dspace/workers.properties
    JkLogFile /var/log/tomcat/dspace/mod_jk.log
    # Log level to be used by mod_jk
    JkLogLevel info
    JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
    # The following line mounts all JSP files to tomcat
    JkMount /dspace/* ajp13
    # The following line prohibits users from directly accessing WEB-INF
    <Location "/dspace/WEB-INF/">
        AllowOverride None
        deny from all
    </Location>
</IfModule>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to