rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bitrot

Pages: 1
1
HFS ~ HTTP File Server / Re: Setting up HFS behind a reverse proxy
« on: January 27, 2014, 07:15:21 AM »
Agreed, it could have been done on the reverse proxy side. But, that was out of my control so had to get it working despite the apache downfalls. I havn't had any problems since the changes to get it working. So far HFS is brilliant at its job. 8)

2
HFS ~ HTTP File Server / Setting up HFS behind a reverse proxy
« on: January 24, 2014, 05:31:55 AM »
hi,

thought i would add a bit on how i managed to get HFS working behind a reverse proxy as there was very little information on it and it taking ages to figure out, is an understatement. So for example say you want to have HFS at bubbly.co.zw/lab/upload  on an apache reverse proxy ( note, its purely a fictional website) forward to HFS. you need to setup HFS to have the same structure, ie two folders lab > upload> conetent. . the reverse proxy will display all of your 
text correctly but the images will be missing.

To solve that, edit your template and where you have "template/" replace it with "lab/upload/template/" this will fix your image links to the correct url's. then you need to add the "template"folder to the "upload" dir in HFS. you should now have a working HFS behind a reverse proxy.
i have attached an example image of the structure for reference.

Pages: 1