rejetto forum

redirect request

Guest · 3 · 4448

0 Members and 1 Guest are viewing this topic.

krischan

  • Guest
Hi everybody,

is it possible to set up the hfs to redirect requests to an other http server??

Maybe with an extra bottun. Because only port 80 is open behind my firewall.

The apache web server use options like:

RewriteEngine       on
ProxyRequests      on
RewriteRule /mldonkey http://localhost:4080/$1 [P,L]
RewriteRule /(submit.*) http://localhost:4080/$1 [P,L]
RewriteRule /(files.*) http://localhost:4080/$1 [P,L]
ProxyPassReverse /(.*)  http://localhost:4080/$1


Thx for your help in advance

Krischan =)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13524
    • View Profile
it sounds interesting, but i'm not sure about how it should work


Offline Mr. Anon

  • Tireless poster
  • ****
    • Posts: 270
    • View Profile
Does indeed sound interesting...
Making HFS act like a proxy! :D
Because 127.0.0.1 cannot be reached by the external Internet, the Location HTTP header would not work. :(