[horde] horde and apache rewrite [ssl proxy]

Lars Kirchhoff lkirchhoff at ieb.net
Mon Oct 6 04:52:40 PDT 2003


hello,

  I have a question concerning an ssl proxy configuration. I tried to
configure
  and setup horde on a subdomain, lets say at: xxx.abc.com. On this
subdomain
  horde and all installed application are running fine.
  Now I tried to access this subdomain via a ssl proxy, because its not
possible
  to have a single ssl subdomain or domain on this machine. The idea is
to access
  horde via www.abc.com/xxx/. The problem which I'm facing now, is that
the index.php
  of horde always returns /login.php as default page for login purposes,
which is
  correct, but in the above configuration leads to www.abc.com/login.php
instead of
  www.abc.com/xxx/login.php.

  My question is now, if my RewriteRules are incorrect or if there is a
possibility
  to change the default page or to change the generall uri generation of
horde?

  here my Apache Rewrite Rules:

     RewriteMap      domaindb        txt:/etc/httpd/ssldomains
     RewriteRule     ^/icons/(.+)  -                               [L]
     RewriteRule     ^/w3c/(.+)      -                               [L]
     RewriteRule     ^/([^/]+)/(.*)  /${lowercase:$1}/$2
[S=1]
     RewriteRule     ^/(.*)          /${lowercase:$1}
     RewriteRule     ^/www\.([^/]+)/(.*)
/${domaindb:$1|%{HTTP_HOST}/$1}/$2      [S=2]
     RewriteRule     ^/([^/]+)/(.*)
/${domaindb:$1|%{HTTP_HOST}/$1}/$2      [S=1]
     RewriteRule     ^/(.+)                  /$1/
[R,L]
     RewriteRule     ^/(.*)                  http://$1
[P,L]

  thanks in advance

/lars





More information about the horde mailing list