Using fastpath on windows apache server from port 80?

hi all

i have succesfully installed and configured the fasthpat app for openfire on my server.

the server is w.a.m.p. server (apache server running on windows) and only the port 80 - 8080 is open.

is there a way to reach the FastPath help page through these ports?

best wishes.

Yes, in the virtual host of httpd.conf, add ProxyPass (provided by mod_proxy.so) as below.

HTH

<VirtualHost *:80>

ProxyPreserveHost On

ProxyPass / https://127.0.0.1:9091/

ProxyPassReverse / https://127.0.0.1:9091/

Hi,

does port 9091 really work with mod_proxy?

This enables also access to the admin console, so may want to add “ProxyPass ^/login.jsp !” or “ProxyPassMatch ^/login.jsp.* !”

LG

LG: interesting but if there were security vulnerabilities in Jetty, in the login.jsp page, or by crafting a SESSION cookie.dat file then this may pose issues.

Yes, it works. Here I forwarded all traffic on port 9091 (e.g. HTTPS), but one could protect that with mod_auth. For Fastpath, only ProxyPass (forward) port 9090 (non-https) to dir /webchat/. Another way to prevent traffic to the admin console, simply use rewrite rules.

ProxyPreserveHost On

ProxyPass /webchat/ http://127.0.0.1:9090/webchat/

ProxyPassReverse /webchat/ http://127.0.0.1:9090/webchat/

<Directory “/var/httpd/www”>

RewriteEngine On

RewriteBase /

  RewriteRule ^(.*)$ [http://www.website.com/$1](http://www.website.com/%241) [R=permanent,L]

Note this works with Apache 2.x. Apache 1.3.x does not have the ProxyPreserveHost keyword.

HTH

Thank you all very much !
you really helped me very quickly and solved my question.
best wishes for all!
ozg.