Your comments

Dear Eugene

First of all, I believe you got the greater than & smaller than signs confused in the support article: http://support.ajenti.org/topic/472359-ajenti-behi...
It should be: Apache <= 2.2 (since >= would also include 2.4)

Second, the proxy_wstunnel module is not available in Apache 2.2. It's still there in the article for Apache 2.2.

Third, I've never seen the use of RequestHeader set Origin in Apache 2.2.

Then, I'm afraid I can't confirm that the config works like that. I believe it would be correct like that (notice the small differences):

SSLProxyEngine On
ProxyRequests Off
ProxyPass /ajenti https://localhost:8000/
ProxyPassMatch ^/(ajenti:.*)$ https://localhost:8000/$1
ProxyPassReverse /ajenti /

I will further test the current config and get back to you if I find anything else.

Cheers
How would that work with Apache? And why are these redirects necessary? The login / logout problem is not documented in any of the docs I've found...

If all URLs are prefixed with ajenti, why can the redirect not point to /ajenti?
Ah, that did the trick. Unfortunately I can't remove the caches, but disabling the domain 'repo.ajenti.org' for caching works. Thanks for the help :)
Hey Eugene

Nope, that did not help. See:
root@bleak: ~ # yum clean metadata
Loaded plugins: security
Cleaning repos: ajenti base epel extras ius remi updates
3 metadata files removed
0 sqlite files removed
0 metadata files removed
root@bleak: ~ # yum -y install ajenti
Loaded plugins: security
ajenti | 951 B 00:00
ajenti/primary | 27 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/repodata... [Errno -1] Metadata file does not match checksum
Trying other mirror.
ajenti/primary | 27 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/repodata... [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from ajenti: [Errno 256] No more mirrors to try.