Difference between revisions of "HTTP"
Jump to navigation
Jump to search
m (moved Web to Httpd, etc.) |
|||
Line 3: | Line 3: | ||
* http://httpstatus.es/ | * http://httpstatus.es/ | ||
+ | = Servers = | ||
== Nginx == | == Nginx == | ||
* [http://wiki.nginx.org/Resources Resources] | * [http://wiki.nginx.org/Resources Resources] | ||
Line 47: | Line 48: | ||
* http://monkey-project.com/ | * http://monkey-project.com/ | ||
− | = | + | = Etc. = |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Caching == | == Caching == | ||
* http://thomashunter.name/blog/a-primer-on-web-caching/ | * http://thomashunter.name/blog/a-primer-on-web-caching/ | ||
Line 77: | Line 57: | ||
* http://blitz.io/ | * http://blitz.io/ | ||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 19:06, 26 June 2012
Servers
Nginx
- Configuration
- FullExample
- HttpRewriteModule - rewriting urls
- HttpAuthBasicModule - for directory passwords
- Pitfalls
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
- ServerBlockExample - Basic examples
- FcgiExample - FastCGI example. Keep seperate and include.
- http://wiki.nginx.org/Wordpress
- https://wiki.archlinux.org/index.php/PhpMyAdmin#NGINX_Configuration
Enable logging in vhost conf;
error_log /var/log/nginx-vhostnamehere.log error;
Tools
- https://github.com/perusio/nginx_ensite - nginx_ensite and nginx_dissite for quick virtual host enabling and disabling