|
| virtual folder redirect not redirecting to physical folder - IIS 6 |
 |
Mon, 17 Jul 2006 20:38:24 +000 |
I hope someone can help out with this one.
I created 2 ftp sites. One for our company employees and another for our
clients. the employees login using their normal AD credentials, no isolation.
the clients login using local accounts, no isolation; however, i am using the
'LocalUser' option to direct the client to their own folder. That works great.
Now, here's the issue. we have 2 directories that have service packs and another
that contains updates. on our older IIS5 box, all i did was create the vfolder
using the same name as the actual folder and point it to the actual folder.
worked like a charm. Not so on IIS6. it appears that the physical folder is
over-riding the vfolder. has anyone else gotten this to work, or should i just
redo the IIS install and start from scratch? The thing is, those 2 folders (sp
& updates) need to be read-only for the clients and modify for the
employees...
Any ideas?
Thanks in advance...
|
| Post Reply
|
| Re: virtual folder redirect not redirecting to physical folder - IIS 6 |
 |
Tue, 18 Jul 2006 02:07:37 +000 |
Don't quite get you...... I'm assuming that you create the virtual directory
under each ftp site, which map to the remote IIS 5 machine. Virtual directory
will take precedence over physical folder. what do you mean physical over-riding
the vfolder?
can you list down your folder structure ? as for the update and read only
access just configure the proper NTFS permissions for the users.
|
| Post Reply
|
| Re: virtual folder redirect not redirecting to physical folder - IIS 6 |
 |
Tue, 18 Jul 2006 02:56:53 +000 |
Hi Indy,
You're on the right track. If you have a vdir and a physical folder, then the
vdir will take affect (win) when you navigate to the folder. (the physical
folder is necessary if you want to see the folder when you get a list of
folders).
It's the same in IIS6 unless you're using User Isolation Mode. You mentioned a
couple times that you were using isolation, but are you sure that you didn't
select the user isolation mode my mistake in IIS?
Note that you can't check this afterward unless you change it in the metabase
directly, so if you're not 100% sure, it's worth setting up a new FTP account.
Also double check the folder names and the folder structure. (i.e. it's
possible that you added the vdir on a different folder in IIS FTP)
Here's a tutorial that explains this some more:
http://weblogs.asp.net/owscott/archive/2004/03/10/87262.aspx
Scott
|
| Post Reply
|
| Re: virtual folder redirect not redirecting to physical folder - IIS 6 |
 |
Tue, 18 Jul 2006 14:47:26 +000 |
IIS5 structure - Works
Physical
E:\ftproot
-boces
-ric
-ftp
-SP
-Updates
IIS
IIS
-Default FTP Site
-boces (site)
-ric (vfolder - e:\ftproot\boces\ric)
-SP (vfolder - e:\ftproot\SP - rl)
-Updates (vfolder - e:\ftproot\Updates - rl)
IIS6 Structure - SP/Updates Don't Work
Physical
c:\inetpub\ftproot
-boces
-ric
-ftp
-SP
-Updates
IIS
IIS
-FTP Sites
-Default FTP Site (site)
-boces (site)
-ric (vfolder - c:\inetpub\ftproot\boces\LocalUser\ric)
-SP (vfolder - c:\inetpub\ftproot\SP - rl)
-Updates (vfolder - c:\inetpub\ftproot\Updates - rl)
As far as setting the isolation mode. I'm pretty sure I did not select it while
using the wizard. I'd have to check the option to use it. The default is no
isolation.
I think I might have to recreate the boces site. Is there anyway to check to see
if isolation mode is being used JIC i did check it off? MetaEdit?
Thanks for the help guys...
|
| Post Reply
|
| Re: virtual folder redirect not redirecting to physical folder - IIS 6 |
 |
Wed, 19 Jul 2006 05:48:03 +000 |
what do you mean "doesn't work" ? you can navigate the folder ? can't
write or ?
for the isolation mode you can check this key 'userisolationmode'..
use adsutil.vbs get msftpsvc/xxx/userisolationmode
0 is no isolation
1 is local isolation
2 is AD integration.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|