Difference between revisions of "HTTP"
Jump to navigation
Jump to search
(→Etc.) |
|||
Line 1: | Line 1: | ||
{{techy}} | {{techy}} | ||
+ | == Basics == | ||
* http://en.wikipedia.org/wiki/Httpd | * http://en.wikipedia.org/wiki/Httpd | ||
* http://httpstatus.es/ | * http://httpstatus.es/ | ||
Line 7: | Line 8: | ||
* http://hosts-file.net/ | * http://hosts-file.net/ | ||
− | = Servers = | + | == Servers == |
− | == Nginx == | + | === Nginx === |
* [http://wiki.nginx.org/Resources Resources] | * [http://wiki.nginx.org/Resources Resources] | ||
Line 23: | Line 24: | ||
arch linux | arch linux | ||
− | === Site setup === | + | ==== Site setup ==== |
Create 'Server Block' (vhost) config file in | Create 'Server Block' (vhost) config file in | ||
/etc/nginx/sites-available | /etc/nginx/sites-available | ||
Line 39: | Line 40: | ||
* http://agentzh.org/misc/nginx/agentzh-nginx-tutorials-enuk.html | * http://agentzh.org/misc/nginx/agentzh-nginx-tutorials-enuk.html | ||
− | === Tools === | + | ==== Tools ==== |
* https://github.com/perusio/nginx_ensite - nginx_ensite and nginx_dissite for quick virtual host enabling and disabling | * https://github.com/perusio/nginx_ensite - nginx_ensite and nginx_dissite for quick virtual host enabling and disabling | ||
* http://www.anilcetin.com/convert-apache-htaccess-to-nginx/ | * http://www.anilcetin.com/convert-apache-htaccess-to-nginx/ | ||
− | == Apache == | + | === Apache === |
* [http://httpd.apache.org/ Apache HTTP Server] | * [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] | ||
− | == Other == | + | === Other === |
* http://monkey-project.com/ | * http://monkey-project.com/ | ||
− | = Performance = | + | == Performance == |
* http://stevesouders.com/efws/ | * http://stevesouders.com/efws/ | ||
* http://www.portent.com/blog/design-dev/how-we-made-portent-com-really-freaking-fast.htm | * http://www.portent.com/blog/design-dev/how-we-made-portent-com-really-freaking-fast.htm |
Revision as of 13:54, 29 June 2012
Basics
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