CIS350/vhostConfig
From MCIS Wiki
Contents |
Access VirtualHost Configuration
cd /var/www/student_configs
Each student config is the first four digits of their student number
Example - student number 123456 would have a config file of 1234.conf
Edit VirtualHost Configuration
Once you are in the student_configs directory, to edit your config file you must
vi 1234.conf (The .conf file will be the first four digits of your student number)
vi is an editor- [How to use vi]
Test VirtualHost Configuration
EVERY time you edit your .conf file, you must run the test script within the student_configs directory.
To run the test script make sure you are in the student_configs directory and type:
./test
Error and Access Logs
Everyone has their own error logs and access logs contained in :
/home/[user account]/logs
Example for Joe Schmo
/home/jschmo/logs/error_logs /home/jschmo/logs/access_logs
These are good for troubleshooting and to see who has accessed your webpages.
Accessing your webpages from a browser
http://mcis.western.edu:[first four digits of your student number]
http://mcis.western.edu:1234 (for user stu123456)
