Difference between revisions of "HTTP"
Jump to navigation
Jump to search
Line 35: | Line 35: | ||
* http://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup | * http://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup | ||
+ | |||
+ | == Caching == | ||
+ | * http://www.mnot.net/cache_docs/ | ||
== Other CMSs == | == Other CMSs == |
Revision as of 03:39, 15 June 2012
Nginx
- Resources
- FullExample
- VirtualHostExample
- HttpRewriteModule - rewriting urls
- HttpAuthBasicModule - for directory passwords
Enable logging in vhost conf;
error_log /var/log/nginx-vhostnamehere.log error;
.htaccess
MediaWiki
- Manual:Short URL/wiki/Page title -- nginx rewrite--root access
- Manual:Short URL/Page title - nginx, Root Access, PHP as a CGI module
MediaWiki:Sidebar
Backup
nice -n 19 mysqldump -u $USER --password=$PASSWORD $DATABASE -c | nice -n 19 gzip -9 > ~/backup/wiki-$DATABASE-$(date '+%Y%m%d').sql.gz