Difference between revisions of "HTTP"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
* http://agentzh.org/misc/nginx/agentzh-nginx-tutorials-enuk.html | * http://agentzh.org/misc/nginx/agentzh-nginx-tutorials-enuk.html | ||
− | == | + | == Apache == |
+ | * [http://httpd.apache.org/ Apache HTTP Server] | ||
+ | |||
* [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] | ||
Revision as of 03:41, 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;
Apache
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