httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pol Hallen" <apach...@fuckaround.org>
Subject [users@httpd] ProxyHTMLURLMap
Date Wed, 09 Oct 2013 13:52:42 GMT
Hi all :-) I lost myself with this problem... and I don't know what is
useful to resolve it :-/

apache2.2 and virtual host

the name of this webserver is: domain.org, I've phpmyadmin as alias:

http://domain.org/phpmyadmin

A virtual host: newdomain.org

I need connect to phpmyadmin using http://newdomain.org/phpmyadmin and
KEEP (in the address bar) newdomain.org/phpmyadmin (and not
domain.org/phpmyadmin).

I check a something like this but I don't think is useful for me.

Can anyone help me please?

thanks!

ProxyPass /phpmyadmin/ http://domain.org/phpmyadmin
ProxyPassReverse /info/ http://domain.org/phpmyadmin/
ProxyHTMLURLMap http://domain.org/phpmyadmin /phpmyadmin/

<Location /info/>
  ProxyPassReverse /
  SetOutputFilter proxy-html
  ProxyHTMLURLMap newdomain.org/phpmyadmin /phpmyadmin/
  ProxyHTMLURLMap /             /phpmyadmin/
  ProxyHTMLURLMap /phpmyadmin/         /phpmyadmin/
  RequestHeader    unset  Accept-Encoding
</Location>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message