Jump to content

hyperserver cache not working with multiple applications in subdirectories


snow

Recommended Posts

Hi all,

 

I am using uniGUI version 1.90.0.1563.

I set up a single hyperserver for multiple applications in subdirectories, like this:

D:\hyperserver.exe

D:\folderOne\one.exe

D:\folderTwo\two.exe

I added these lines to the hyperserver.cdf file:

[application-0]
enabled=1
alias=one
binary_name=folderOne\one.exe
max_nodes=1

[application-1]
enabled=1
alias=two
binary_name=folderTwo\two.exe
max_nodes=1

 

Works fine, apart from the cache. Hyperserver uses folder D:\cache, one.exe uses D:\folderOne\cache and two.exe uses D:\folderTwo\cache. So basically my applications create files in their respective cache, but hyperserver cant't find them because it's looking in the wrong folder. Copied form logfile:

hyper_server.exe: 00001FD4: 09:43:54 [HandleFileRequest[127.0.0.1]]:File not found: D:\cache\one\n0\0_Lu3oLOfBSX10E3B6404\favicon.ico
hyper_server.exe: 00000B8C: 09:43:54 [HandleFileRequest[127.0.0.1]]:File not found: D:\cache\one\n0\res\__0F4A15AF66BC1FF976081089.png
hyper_server.exe: 00002068: 09:43:54 [HandleFileRequest[127.0.0.1]]:File not found: D:\cache\one\n0\res\__AF7772F92930D13BD8A84A63.png
hyper_server.exe: 000033A4: 09:43:54 [HandleFileRequest[127.0.0.1]]:File not found: D:\cache\one\n0\res\__B323E5AD16F4E975CA637FDE.png
hyper_server.exe: 00002DA4: 09:43:54 [HandleFileRequest[127.0.0.1]]:File not found: D:\cache\one\n0\res\__28A5BAA8CD8E242BDC50A713.jpg

 

I noticed that a recent release added the hyperserver parameter files_folder. So I tried setting cache_folder like this:

cache_folder=folderOne\cache

I have also tried setting it like this:

cachefolder=folderOne\cache

However, neither of them works.

I have not tried setting the cache folders of my applications to D:\cache, because they are separate applications and should have separate cache folders.

 

What hyperserver parameter do i need to use for this to work? Or does hyperserver simply not support cache folders in subdirectories?

Thanks in advance.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...