C2k Help
Program Sets => All Others => Topic started by: ballsricky on May 16, 2006, 11:15:29 AM
-
I am trying to setup a system where pupils can upload their websites to be viewed on the intranet so I thought the easy way to do this was to set up a subdomain, make a file within that for the yeargroup and have an ftp account allowing access to that particular folder but i cant seem to work out how to do it using plesk.
i would also like to automate it so that a list of index files are automatically generated with links rather than me having to go in every time someone has uploaded their work and create a link manually.
this is all done within the HP / plesk package.
I am going to have every pupil have a folder named as their c2k username and their index files will all be in the format index.html, so that there is some sort of organisation.
any thoughts on the idea would be much appreciated.
-
These are my old notes on setting up a sub domain for a pupil, they changed the Plesk console just after I had written this and I have never bothered to update it:-
Setting up a Subdomain on the Intranet for Pupil Use.
Log into the Plesk console
Click on the primary domain site name
Click on the subdomain button in the control panel
Click on the Add New Subdomain button
Use the pupils first initial and surname as the subdomain name (e.g. asmith)
Add a new FTP login name (same as the subdomain name)
Use the pupils date of birth as the password (e.g. 24011988)
Change the hard disk quota to 10Mb
Add Frontpage support
Enable Frontpage Authoring
Click ok to create the subdomain
Click on the new subdomain name
Click on File Manager
Click on httpdocs
Click Add New Directory
Name the Directory ‘project’
Click ok
Go back up a level using ../
Click on the lock symbol to the right of the directory name to change attributes
Enable everthing in the All Actions sections
Click ok
Click on the subdomain name (Above the File Manager Heading)
Click on Virtual Directories
Click Add Virtual Directory
Call the Directory project
Path=/httpdocs/project
Tick all boxes
Execute Permissions = Scripts Only
Click ok
Click on the Virtual Directory Name
Enable Parent Paths
Click ok
Finished
NOTE: I was setting up seperate sub domains for all year 13 and 14 students in computers.
I created a sub folder in their httpdocs folder called project
I then created a virtual folder with the same name and basically overwrite the physical folder
after it is created you can the add parent paths otherwise ..\ doesnt work in the asp files (long winded way to do it but I havent figured out any other)
needless to say I told them to use the project folder as their home folder.
Do not forget to add httpdocs when ftp'ing a site and to remove it for hhtp, otherwise it will not resolve the address.
Because thay all had seperate sub domains I didnt have to worry about links. I had about 45 pupils to do this for plus 2 teachers out of a quota of 50 sub-domains. I suppose if I had ran out of sub-domains I would have just stuck some in a folder on the internet site.
Hope this helps