+ Post New Thread
Results 1 to 15 of 15
How do you do....it? Thread, Personal Webspace for pupils? in Technical; Does anyone provide personal webspace for pupils thats only accessable locally and will allow tem to upload and view there ...
  1. #1
    Disease's Avatar
    Join Date
    Jan 2006
    Posts
    1,099
    Thank Post
    118
    Thanked 70 Times in 48 Posts
    Rep Power
    56

    Personal Webspace for pupils?

    Does anyone provide personal webspace for pupils thats only accessable locally and will allow tem to upload and view there school made websites.

    If so what did you use for this and how did you set it up.

    Thanks

  2. #2
    johnymac's Avatar
    Join Date
    Jun 2006
    Location
    Bradford
    Posts
    55
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Is it compulsory they only have local access? Have you considered Google sites?

  3. #3

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    We have a linux server that does this and it authenticates users via active directory. Vsftpd as the FTP server and Apache serving the pages.

    Set up by yours truly, a linux hippy.

  4. #4
    Disease's Avatar
    Join Date
    Jan 2006
    Posts
    1,099
    Thank Post
    118
    Thanked 70 Times in 48 Posts
    Rep Power
    56
    Damn you Linux Hippies!!!!!

  5. #5

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    I very kindly put together some notes when I set it up, but beware it's slightly out of date by today's latest versions.

    FTP and Web server [Bishop Barrington IT Wiki]

  6. 2 Thanks to webman:

    Disease (4th November 2009), ind1ekid (5th November 2009)

  7. #6
    Disease's Avatar
    Join Date
    Jan 2006
    Posts
    1,099
    Thank Post
    118
    Thanked 70 Times in 48 Posts
    Rep Power
    56
    Thanks Webman, that should help me start out.

  8. #7

    Sylv3r's Avatar
    Join Date
    Jul 2005
    Location
    Co. Durham
    Posts
    3,215
    Thank Post
    372
    Thanked 379 Times in 337 Posts
    Rep Power
    148
    Quote Originally Posted by webman View Post
    We have a linux server that does this and it authenticates users via active directory. Vsftpd as the FTP server and Apache serving the pages.

    Set up by yours truly, a linux hippy.
    We do something very similar to Webman - but not for all students. Just selected students for use in their ICT course.

  9. #8

    Join Date
    Nov 2008
    Location
    Belfast
    Posts
    28
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    12
    We have a W2k3 server running IIS.

    have created a script to create a folder for the class then a subfolder for each students (which is then set up as an application in IIS incase they need ASP.net). Folder permissions are all set up so that they can only add/edit files in their folder.

    They can upload in a couple of ways - either by connecting to a file share then navigating to their class and then their folder or the server is also set up for FTP access. All authentican is though AD.

    Server also had PHP installed for the adventerous types!!

  10. Thanks to peterdoherty from:

    Disease (6th November 2009)

  11. #9
    ind1ekid's Avatar
    Join Date
    Jul 2008
    Location
    Nottinghamshire
    Posts
    82
    Thank Post
    6
    Thanked 16 Times in 13 Posts
    Rep Power
    15
    Quote Originally Posted by webman View Post
    I very kindly put together some notes when I set it up, but beware it's slightly out of date by today's latest versions.

    FTP and Web server [Bishop Barrington IT Wiki]
    Very nice guide! Be another excuse for me to set up a linux box doing something like that :P

  12. #10
    Disease's Avatar
    Join Date
    Jan 2006
    Posts
    1,099
    Thank Post
    118
    Thanked 70 Times in 48 Posts
    Rep Power
    56
    Thanks Pete, you dont have a copy of that script I could have do you? I would prefer to use Windows to set this up.

  13. #11

    Join Date
    Sep 2009
    Location
    North East
    Posts
    28
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Not a bad idea,

    We don't at the school i'm on placement on but our university has what they call 'iws'


    How would you plan on doing it if you did?

    On my linux server i use apache userdir to create public_html in all my users /home dir's.
    and for it to include it into the server. (this is outside the school)


    I think it'd be too complicated for the kids though to ftp to the linux server.

    We're behind a firewall which blocks the ports anyway so it'd have to be 100% internal here.

    if you want help with apache give me a shout, i've been using it for well over 5years =)

  14. #12

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Quote Originally Posted by AndySimmo View Post
    I think it'd be too complicated for the kids though to ftp to the linux server.
    I think they'd get the idea pretty quickly if they were taught how to use an FTP client properly and what one is and why it is used. E.g. The left pane is the files you've been working on, the right pane is the folder on the server. Copy from one to the other...

  15. #13

    Join Date
    Sep 2009
    Location
    North East
    Posts
    28
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by webman View Post
    I think they'd get the idea pretty quickly if they were taught how to use an FTP client properly and what one is and why it is used. E.g. The left pane is the files you've been working on, the right pane is the folder on the server. Copy from one to the other...
    True its just teaching them and teaching the teachers to teach the kids :P.

    We have a hard enough time getting them to use their emails!

  16. #14

    Join Date
    Nov 2008
    Location
    Belfast
    Posts
    28
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    12
    Quote Originally Posted by Disease View Post
    Thanks Pete, you dont have a copy of that script I could have do you? I would prefer to use Windows to set this up.


    Code:
    Option Explicit
    Dim oFSO, oExcel, oSheet, sUser, iRow, sYear, sCourse
    iRow = 9
    Set oFSO = CreateObject("Scripting.FileSystemObject")
    Set oExcel = CreateObject("Excel.Application")
    Set oSheet = oExcel.Workbooks.Open("C:\createaccounts\RequestForCAASWEB.xls")
    
    Do Until oExcel.Cells(iRow,1).Value= ""
    sUser=oExcel.Cells(iRow,1).Value
    sYear=oExcel.Cells(iRow,3).Value
    sCourse=oExcel.Cells(3,2).Value
    Call HomeDir()
    iRow = iRow+1
    Loop
    oExcel.Quit
    WScript.Echo "finished!!"
    
    Wscript.Quit
    
    Sub HomeDir()
    Dim sHome, sHomeDir, oFolder,oShell
    sHome = "d:\Web\"
    sHomeDir = sHome&sCourse&"\"&sYear&"\"&sUser
    'WScript.Echo sHomeDir
    If oFSO.FolderExists(sHomeDir) Then
       Set oFolder = oFSO.GetFolder(sHomeDir)
    Else
       oFSO.CreateFolder(sHomeDir) 
    End If 
    Set oShell = Wscript.CreateObject("Wscript.Shell")
    oShell.Run "%COMSPEC% /c cacls "& sHomeDir & " /e /g " & sUser&"@student.belfastmet.int:c", 2, false
    oShell.Run "%COMSPEC% /c cacls "& sHomeDir & " /e /g " & "caasweb\iusr_caasweb:c", 2, false
    
    'set up IIS application for VD
    dim IIsWebVDirObj
    dim IIsWebVDirRootObj
    dim NewFolderName
    
    NewFolderName = sCourse&"\"&sYear&"\"&sUser     '"HNCComputingDay\07\GIL08173716"
    
    const UseExistingApplicationPool = true
    'Set IIsWebVDirObj = GetObject("IIS://localhost/W3SVC/1/Root/" & NewFolderName) 
    
    ' Create the Metabase entry
    Set IIsWebVDirRootObj = GetObject("IIS://LocalHost/W3SVC/1/Root")
    Set IIsWebVDirObj = IIsWebVDirRootObj.Create("IIsWebDirectory", NewFolderName)
    
    IIsWebVDirObj.AppCreate3 2, "DefaultAppPool", UseExistingApplicationPool
    IIsWebVDirObj.AppFriendlyName = sUser
    IIsWebVDirObj.SetInfo
    
    
    End Sub
    Obviously will need to change paths etc.

    Blank excel file also attached

    I'll just wait for all the powershell fans to crucify my vbscripting!!!!
    Attached Files Attached Files

  17. Thanks to peterdoherty from:

    Disease (9th November 2009)

  18. #15
    Disease's Avatar
    Join Date
    Jan 2006
    Posts
    1,099
    Thank Post
    118
    Thanked 70 Times in 48 Posts
    Rep Power
    56
    Thanks, I appreciate that

SHARE:
+ Post New Thread

Similar Threads

  1. Student Emails and Webspace?
    By Disease in forum How do you do....it?
    Replies: 8
    Last Post: 9th November 2009, 02:04 PM
  2. Anybody use CSE Webspace explorer ?
    By sathang in forum Courses and Training
    Replies: 15
    Last Post: 10th July 2009, 09:56 AM
  3. Free webspace
    By Ayaz in forum Web Development
    Replies: 8
    Last Post: 15th July 2008, 05:06 PM
  4. Educational Webspace hosting?
    By Samson in forum Web Development
    Replies: 8
    Last Post: 11th October 2007, 12:21 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •