rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Mulder on December 18, 2007, 09:34:16 PM

Title: After login, redirect to - not working
Post by: Mulder on December 18, 2007, 09:34:16 PM
Hi,

What is the right way to use After login, redirect to ? I type the folder name and when I'm login with de specified user, I'm not redirected to the folder.

Thanks for help.
Title: Re: After login, redirect to - not working
Post by: bacter on December 18, 2007, 10:01:26 PM
Verify if the folder is browsable and if the user has access-rights to that folder
Title: Re: After login, redirect to - not working
Post by: rejetto on December 19, 2007, 12:07:41 AM
you appear to be using it the right way.
can you give us a guest account to your server with a redirect, so we see the problem?
Title: Re: After login, redirect to - not working
Post by: Mulder on December 19, 2007, 01:17:51 PM
The folder is Browsable and the user have access only to that folder.

http://142.169.224.15/

User : guest
Pass : guest

This user is redirected to the folder "Support", but it's not working. I can click the folder after logon and I have access.

See attachement for user settings.
Title: Re: After login, redirect to - not working
Post by: Foggy on December 19, 2007, 01:43:26 PM
I havnt tried the redirect, so im not sure but have you tried. "Support" or "/Support" it might be case sensitive or need the first slash to distinguish it from the root folder.
Title: Re: After login, redirect to - not working
Post by: Mulder on December 19, 2007, 01:51:59 PM
Good idea, but Support and /Support are not working  :-[
Title: Re: After login, redirect to - not working
Post by: Foggy on December 19, 2007, 01:56:05 PM
also try /Support/
Title: Re: After login, redirect to - not working
Post by: Mulder on December 19, 2007, 01:58:15 PM
No success with /Support/
Title: Re: After login, redirect to - not working
Post by: Foggy on December 19, 2007, 02:23:45 PM
I know what the problem is, I think it was discovered just after redirect was added

It isn't redirecting for you because you are not logging in from /~login but instead the browser is being told it needs authorization and is asking for a user/pass. You can see what I mean by going to your hfs and when it asks you to log in hit cancel until you get the error screen and click on the login link and login, you will then be redirected.

Edit:A Link (http://www.rejetto.com/forum/index.php?topic=5260.msg1030409#msg1030409)
Title: Re: After login, redirect to - not working
Post by: Mulder on December 19, 2007, 02:34:45 PM
You're right.

Thanks for your help.
Title: Re: After login, redirect to - not working
Post by: rejetto on December 19, 2007, 05:16:49 PM
The usual problem...  :)
i renamed it After ~login ... it may give a clue about its behaviour.