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