rejetto forum

HFS Behind Apache

Guest · 5 · 4765

0 Members and 1 Guest are viewing this topic.

HFS Behind Apache

  • Guest
HFS Running on on Windows XP Storage Server on local net (let's say 192.168.0.2:8001).  Apache2 running on Ubuntu 9.04 Web Server on local net (192.168.0.3).  I want to mount the entire HFS server at http://192.168.0.3/hfs and I totally can't figure it out.  Help please!


Ben

  • Guest
Sorry, put my real name this time :)

Some more info...

I can get it so the HFS Home page shows up via Reverse Proxy.  However there are no images or formatting.  Also the links don't really work.  Am I going to have to go into the template to adjust the link hrefs and img srces?


Ben

  • Guest
Also, I tried Apache's RewriteRule (as opposed to ProxyPass) but the proxy requests were refused by the Windows HFS machine.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
welcome Ben!
i'm not into it, but did you already referred to official documents ?
confront also with this guide http://www.apachetutor.org/admin/reverseproxies
under section "Configuring the Proxy"


Offline Horacio

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Hi Ben,
I don't know if you have allready solved your problem. I had neary the same and here's how I've got through:
Just create an empty folder under your 'Document_root', let's say HFS. Then put in it the .htaccess file with the statements in the attached file.
Notes:
* Only lines 1,8,9 are required. Other lines are to avoid redirecting these folders if found under Document_root.
* In my case, I'm not changing the Server's IP adress, so I this will work for you. I think that it depend on your rooter.
When I tried this way, it was ok in my LAN, but not from the outside.
* Another way to test is VirtualHost (see Apache Document about this). :o

Good luck
Horacio.