rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Michel on July 11, 2007, 09:17:11 AM

Title: Command line parameter
Post by: Michel on July 11, 2007, 09:17:11 AM
Could I also give the vfs-file to HFS as command line parameter?
I want to have a ini and many vfs's.

Or better I could hide folders if the users hasn't the right for a folder.
Title: Re: Command line parameter
Post by: Michel on July 11, 2007, 09:39:04 AM
Found something: Menu->Virtual...->List protected items only for allowed users

Now I have the problem to "relogin" as another user. I use Terayon-Template.
Title: Re: Command line parameter
Post by: TSG on July 11, 2007, 10:13:36 AM
Ye, I think you can actually do what you ask from the first post. I don't know how though. And as for your second post. Just 'Clear Private Data' and refresh in Firefox. Or close the browser and open again if you are using IE.
Title: Re: Command line parameter
Post by: Michel on July 11, 2007, 10:17:08 AM
I normally use Firefox. I don't want to clear the private data.
Just a question: Why it's not possible to have a relogin-button?
Excuse me, I don't understand this.

Title: Re: Command line parameter
Post by: TSG on July 11, 2007, 10:21:11 AM
Because you cant :) lol. Its just not possible with HFS at the moment.
Title: Re: Command line parameter
Post by: Giant Eagle on July 11, 2007, 10:57:33 AM
you can O.o

if you try to access a folder which is not accesible with the current account you are logged in with, you are prompted to enter a new login. This will be difficult if you've disabled 'hide folders for users that dont have access' as you would have to manually browse to that folder.
Title: Re: Command line parameter
Post by: TSG on July 11, 2007, 12:10:47 PM
I was talking in terms of logging out then back in again.
Title: Re: Command line parameter
Post by: rejetto on July 11, 2007, 01:57:32 PM
Could I also give the vfs-file to HFS as command line parameter?

yes

hfs myfile.vfs

easy isn't it?
www.rejetto.com/wiki/?title=HFS:_Command_line_parameters
Title: Re: Command line parameter
Post by: Michel on July 11, 2007, 02:08:10 PM
And what about relogin? With this method I only have to administer one vfs...
Title: Re: Command line parameter
Post by: rejetto on July 11, 2007, 04:14:22 PM
it cannot be done for now, you must restart your browser to get it.
search "logout" if you want to know details.
Title: Re: Command line parameter
Post by: Michel on July 11, 2007, 06:59:39 PM
I found nothing in this forum... searched "logout"...

Perhaps it is possible to add something where you have to login...Maybe a "virtual folder" only to handle the login with another account...only to let the browser think that the user wants to  go to another folder.
Just a thought...
Title: Re: Command line parameter
Post by: rejetto on July 11, 2007, 07:22:17 PM
i guess you used the quick search button here on top.
that one does search only inside the thread, while you read the thread.
it's very misleading, i will remove it.
click on the search link and you will find everything.