Website

From Freelock Knowledge Base

Jump to: navigation, search

Contents

[edit] Planning

What will you use website for? Some common choices include:

public site, administration, testing, and development

Others include special promotions, events, private website for internal use, mail, customer appreciation, fun site, knowledge bases, product documentation, online sales... the list goes on.

[edit] Virtual Server

[edit] Virtual Private Server

[edit] Existing Machine

[edit] Dedicated Server

[edit] Resricting Access

Apache groups are defined in a simple text file. One can edit this with any text editor directly on the server. Each group starts on its own line, and is of the format:

groupname: member1 member2 member3 member4 group2name: member3 member5

The .htaccess file in your directories can then have a statement along the lines of:

Require group group2name

We set the actual file names containing groups, along with the password file to use, in the main Apache configuration.

[edit] On a dedicated server

Regarding what to edit with, we use vi, but that can be very confusing if you're not familiar with it--there is no visible help, and two different modes of operation. I just installed nano, which is a bit simpler, and shows control-keys to use for the various actions like Save, Close, etc.

You can edit these files with a command like:

nano /var/www/conf/private.htgroup

Cheers,

Personal tools