redirect to private virtual folder

 
Post new topic   Reply to topic    Aprelium Forum Index -> URL Rewriting
View previous topic :: View next topic  
Author Message
careernow
-


Joined: 01 May 2008
Posts: 12

PostPosted: Thu May 01, 2008 6:01 pm    Post subject: redirect to private virtual folder Reply with quote

hello

Plz could you advice a solution.
I'm using Web Server X1 version 2.5.
I need to do something like private folders for every selected user.
For instance, we have user1 and user2. User1 has ip 192.168.0.4 and User2 has 192.168.0.5.
I create 2 aliases for virtual folders: [/user1 -> C:\] and [/user2 -> D:\].
Then I create 2 users: u1 and u2 with their passwords. In Access control tool I protect all virtual paths.
Ok, now will be URL rewriting tool.

----------------------------------------------------
Virtual Path Reg. expres. = /
Case sensitive

Conditions = REMOTE_ADDR matches with (or =) 192.168.0.4
Apply subrequest too

Perform internal redireccion:
/user2/

Append Query String
Escape Redirection Location

Next action: Stop Matching
----------------------------------------------------

What is happening:
User1 type in browser http://address.
When user 1 enter his password he goes directly to virtual path /user1.
But url isn't changing (http://address).
If he I try to open any files like .jpg .htm or other from this directory the page is only refreshing and nothing more. If i click "save as" i will have the copy of this directory listing .htm file.

What is my mistake?

Thanks
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu May 15, 2008 4:11 pm    Post subject: Re: redirect to private virtual folder Reply with quote

careernow wrote:

When user 1 enter his password he goes directly to virtual path /user1.
But url isn't changing (http://address).


The URL is not changing because you've selected "Internal Redirection" instead of "External Redirection".
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> URL Rewriting All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group