DCO > Knowledge Base |
||||||||||
Our web server runs HTTPD, which allows for the use of '.htaccess' files to control server behavior for your website. To take advantage of this, simply use a text editor to create a filed called '.htaccess' and put it in your '~/public_html' directory. Here are some examples of '.htaccess' file contents: Redirect to another directory
Simple password protection
Where '.htpasswd' is a password file created by running the commmand:
You can always add more users to this file later by running the same command without the '-c' directive. More information on this command can be found here. Allow access only to users from withing the UM network
This is just a taste of the power of '.htaccess' files. For more information, see this page.
Powered by LionWiki | Admin | Incoming Links |