HTML

To limit access to a webpage:
Create a file called .htaccess with the following contents:
AuthUserFile /home/xyz/username/.www/.htpasswd
AuthType Basic
AuthGroupFile /dev/null
AuthName "Some String in Quotes"
<Limit GET POST>
order allow,deny
allow from all
require valid-user
</Limit>
To create a new password file:
To add a user:


Some things in HTML are case-sensitive.
For example: &nbsp; (to make a non-breaking space).
<font color="00CC00">Green</font>

Finished Songs
Song Key Duration Time
"Blah blah blah!"G Major4:154/4
"Return of Blah"E Major4:352/4


L...

Preformatted text: use <pre>

Typical .htaccess file:
AddType text/html .shtml
AddHandler server-parsed .shtml .html
DirectoryIndex index.shtml index.html
To determine the size (the number of pixels) for png image file on mac: sips -g pixelWidth mail.png

Back to Resources