Hi,
at first I would like to thank you rejetto for your great work with hfs. And sorry for my bad English, but I hope you will understand me
![Wink ;)](/forum/Smileys/default/wink.gif)
Now, I think I have found bug in %folder-resource% function. Lets say I have added real folder from hard drive (
C:\folder) to vfs (
http://localhost/folder/). When I open that folder using web browser, function works perfectly and returns "C:\folder". But if I add/create another folder named new (
C:\folder\new) and I open that folder by web broswer (
http://localhost/folder/new) function will return "C:\folder ew" (should be C:\folder\new). \n disappears. I'm using HFS 2.3 beta (build 253).
And one more thing. My HFS is "behind" Apache (HFS is running on port 81, Apache on 80). I'm using VirtualHost with reverse_proxy mod and it works perfectly, except one thing: HFS logs only IP address of PC that he is running at (I see in log
2010-02-03 23:41:57 192.168.1.202:2565 Requested GET /, and IP address of server in local network is 192.168.1.202). I'm using {.add to log |{.header|X-Forwarded-For.}.} to see incoming ip's, but it makes log hard to read. Is it possible to modify log and for example give choice what IP should logged (that from request or that stored in header in X-Forwarded-For)?
Thank you,
Artur.