thedarxide Posted March 25, 2010 Posted March 25, 2010 Hi, We have several thousand domain users, whose home directories are all stored on a central file share. I'd like to create webspace for them using IIS, quickly and easily, using a standard folder structure. e.g. d:\users\username\ftpFiles becomes http://servername/username Or something similar. Ease and quickness of implementation is better than tidyness. Any suggestions apprecaited. I haven't even *looked* at IIS since 2002, so this might be trivially easy, so excuse me not reading the manual first
danrhodes Posted March 25, 2010 Posted March 25, 2010 Open up IIS and drill down to the "Default Website" folder. Right click and select properties http://www.petri.co.il/images/ssl.gif On the Home Directory tab enter the root location of the users home directories, for example d:\users\%USERNAME% http://www.bram.us/wordpress/wp-content/uploads/2008/12/iis-home-directory.gif Then if you navigate to http://fileserver1/%USERNAME% you will be presented with a directory view of your home folder. D
thedarxide Posted March 26, 2010 Author Posted March 26, 2010 (edited) That will work once, but not for multiples. I need to create webspace for all our students, quickly. Unless I've missed something. I may just use Apache with LDAP authentication instead: http://httpd.apache.org/docs/2.0/howto/public_html.html Edited March 26, 2010 by thedarxide
danrhodes Posted March 26, 2010 Posted March 26, 2010 Why wouldn't it work for multiples? Should do I'd say. D
gibbo_ap Posted March 26, 2010 Posted March 26, 2010 Why wouldn't it work for multiples? Should do I'd say. D it would be a manual job tho wouldnt it? your cant just set it to create the webspace automatically for all users? as far as i know... if im wrong id be interested too.
danrhodes Posted March 26, 2010 Posted March 26, 2010 (edited) Ahh I get you now! Just export a user list from AD and create all the folders using mkdir it shouldn't be too difficult to write a quick batch program to do that should it! 1. Export your usernames 2. Use Excel to put 1 and 1 together In column A MKDIR D:\HTTP_ROOT\Users\ In column B User1 In column C =Concatenate(A1,B1) Coulmn D you should get MKDIR D:\HTTP_ROOT\Users\User1 Drag column D down and you should get: MKDIR D:\HTTP_ROOT\Users\User1 MKDIR D:\HTTP_ROOT\Users\User2 MKDIR D:\HTTP_ROOT\Users\User3 MKDIR D:\HTTP_ROOT\Users\User4 MKDIR D:\HTTP_ROOT\Users\User5 Easy! Edited March 26, 2010 by danrhodes
thedarxide Posted March 26, 2010 Author Posted March 26, 2010 Yeah, but then I'm not using the home directories am I? This is my problem... Apache does it nice and simply, I assumed IIS would.
danrhodes Posted March 26, 2010 Posted March 26, 2010 As I said earlier, if you want to use their home directories then just redirect the Home Folder of your default website to the root of all users home folders, this way you will be able to have http://Http://fileserver1/Username D
danrhodes Posted March 29, 2010 Posted March 29, 2010 How have you got on with this, is the issue sorted?
thedarxide Posted March 30, 2010 Author Posted March 30, 2010 I've not done it yet. Your last response won't be suitable as it makes the whole directory web enabled, or creates further burden of setting appropriate permissions. I'll use Apache I think, and use the options in the link I found above.
danrhodes Posted March 30, 2010 Posted March 30, 2010 I've not done it yet. Your last response won't be suitable as it makes the whole directory web enabled, or creates further burden of setting appropriate permissions. I'll use Apache I think, and use the options in the link I found above. That's cool as long as you get the result you we're after, it doesn't matter how you get there
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now