Here is my first attempt at coding HTML.
http://www-student.it.uts.edu.au/~twade/index.html
I am using FileZilla as my FTP application, and Notepad++ as my HTML editor. I initially had some trouble viewing the page (several 403 and 404 errors) and had to change the User Permissions.
Acknowledgements to the HTML tutorial on the W3C website.
Need to find out more about the folder structure on the server. Does anyone know why we save the *.html files in the "public_html" directory, but don't have to refer to the directory in the URL.
Hoping the mist will rise soon...
The reason is that the server in UTS has already bound the "public_html" to the primary domain name.
ReplyDeleteeg. Apache, an HTTP server, has an .htaccess file. Inside the file, the code as follows has bound the directory to the primary domain name.
"RewriteCond%{HTTP_HOST}^(www~student.it.uts.edu.au)?$
RewriteCond%{REQUEST_URI}!^/public_html/"
That's why u don't need to refer to the directory in the URL
Hope it helps^_^
Thank you. Makes sense.
ReplyDelete