mod_proxy problem with phpmyadmin

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

 



Hello,

i have a problem with mod_proxy. I want to redirect all
requests to another apache running on localhost:8080.
So the url https://s1.example.com/ will be proxied to
http://localhost:8080/. But i have a problem with phpmyadmin
running inside this vhost. I use cookie based authentification
and when i hit OK after entering the credentials, something goes
wrong. Firefox is displaying the url:
https://s1.example.comphpmyadmin/index.php?lang=....
Of course this doesnt exist. When i insert a / there, the site gets
displayed and im logged in. I'm confused ....

My config:
<VirtualHost 1.2.3.4:443>
        ServerAdmin hosting@xxxxxxxxxxx
        ServerName s1.example.com
        ProxyPass / http://localhost:8080/
        #<Location />
                ProxyPassReverse / http://localhost:8080/
        #</Location>
        ProxyPreserveHost On
        ProxyRequests Off
        <Proxy *>
                Order deny,allow
                Allow from all
        </Proxy>
        ErrorLog /var/log/apache2/error.log
        LogLevel warn
        CustomLog /var/log/apache2/access.log combined
        ServerSignature On
        SSLEngine       On
        SSLOptions      +FakeBasicAuth +StrictRequire
        SSLCertificateFile      /etc/apache2/ssl/s1.pem
        SSLCertificateKeyFile   /etc/apache2/ssl/s1.key
        SSLCACertificateFile    /etc/apache2/ssl/chain.pem
</VirtualHost>

So are there any ideas how to solve this?

Regards Til

PS: Sorry for repost, but i corrected an error and Thunderbird/gmane
sorted the message into a very old thread (but i didnt clicked on answer)


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux