Difference between revisions of "How To Publish Personal Web Content"
(URL change) |
|||
Line 34: | Line 34: | ||
You can access your personal web site using the following url: | You can access your personal web site using the following url: | ||
− | <nowiki> | + | <nowiki>https://people.ece.ubc.ca/<your username></nowiki> |
For example, if your username is janedoe, then your personal web site could be | For example, if your username is janedoe, then your personal web site could be | ||
accessed using: | accessed using: | ||
− | <nowiki> | + | <nowiki>https://people.ece.ubc.ca/janedoe</nowiki> |
You may be interested in reading [[How To Password Protect Personal Web Content]]. | You may be interested in reading [[How To Password Protect Personal Web Content]]. |
Latest revision as of 17:19, 1 December 2021
Create the following directory tree in your home directory:
Directory | Description | Command To Change Permission |
---|---|---|
etc/ | your etc directory | chmod o+x etc/ |
etc/www/ | your document root | chmod o+x etc/www/ |
etc/www/index.html | your public home page | chmod o+r etc/www/index.html |
Ensure that ~/, ~/etc/, ~/etc/www/, and all subdirectories of ~/etc/www are world executable and that all files in ~/etc/www/ and below are world readable. See the above table for the commands to use to change the permissions. You may wish to read How To Secure Your Home Directory.
Populate your ~/etc/www/ directory with the web content that you wish to publish to the web. The file served up the Apache web server as your personal web site's home page is ~/etc/www/index.html.
You can access your personal web site using the following url:
https://people.ece.ubc.ca/<your username>
For example, if your username is janedoe, then your personal web site could be accessed using:
https://people.ece.ubc.ca/janedoe
You may be interested in reading How To Password Protect Personal Web Content.