HTTP

From Things and Stuff Wiki
Revision as of 08:20, 22 July 2012 by Milk (talk | contribs) (→‎Nginx)
Jump to navigation Jump to search


Basics

  • HTTPie is a CLI, cURL-like tool for humans

User and group

See also *nix#Users

Servers

Nginx

Site folder location can vary.

/var/www
  debian
/etc/nginx/html
  arch linux

Site setup

Create 'Server Block' (vhost) config file in

/etc/nginx/sites-available

and later ln -s them in

/etc/nginx/sites-enabled

Enable logging in vhost conf;

error_log /var/log/nginx-vhostnamehere.log error;

Tools

Logging and stats

logrotate
error_log  /var/log/nginx/error.log;
access_log  /var/log/nginx/access.log;
  • Piwik is downloadable, Free/Libre (GPLv3 licensed) real time web analytics software. It provides you with detailed reports on your website visitors; the search engines and keywords they used, the language they speak, your popular pages, and much more.

old skool;

Control panels

Apache

Other

Performance