Difference between revisions of "HTTP"

From Things and Stuff Wiki
Jump to navigation Jump to search
Line 43: Line 43:
  
 
* [http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/ Stupid htaccess Tricks]
 
* [http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/ Stupid htaccess Tricks]
 +
 +
== Other ==
 +
* http://monkey-project.com/
  
 
== MediaWiki ==
 
== MediaWiki ==

Revision as of 13:57, 24 June 2012


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

Apache

Other

MediaWiki

MediaWiki:Sidebar

Backup

change vars;

nice -n 19 mysqldump -u $USER --password=$PASSWORD $DATABASE -c
nice -n 19 gzip -9 > wiki-$DATABASE-$(date '+%Y%m%d').sql.gz

Caching

Other CMSs