Revision history for Nginx
Additions:
{{image url="http://upload.wikimedia.org/wikipedia/en/a/a5/Nginx.gif" link="http://nginx.org/"}}
====Nginx====
~**Nginx** (pronounced “Engine-X”) is an open source Web server and a reverse proxy server for HTTP, SMTP, POP3 and IMAP protocols.
==Installation==
~Install an appropriate software package:
~~[[http://murga-linux.com/puppy/viewtopic.php?t=48476 Nginx 1.0.14.pet download thread]]
~[[LEMP]] web stack
~[[Hiawatha]] web server
==Related Webpages==
~[[http://nginx.org/ Nginx homepage]]
~[[Wikipedia:Nginx]]
====Nginx====
~**Nginx** (pronounced “Engine-X”) is an open source Web server and a reverse proxy server for HTTP, SMTP, POP3 and IMAP protocols.
==Installation==
~Install an appropriate software package:
~~[[http://murga-linux.com/puppy/viewtopic.php?t=48476 Nginx 1.0.14.pet download thread]]
~[[LEMP]] web stack
~[[Hiawatha]] web server
==Related Webpages==
~[[http://nginx.org/ Nginx homepage]]
~[[Wikipedia:Nginx]]
Deletions:
====Hiawatha====
~**Hiawatha** is a Web server, see its [[http://www.hiawatha-webserver.org/ homepage]].
http://www.hiawatha-webserver.org/howto
http://www.linux-magazine.com/Issues/2009/107/Hiawatha
[[http://murga-linux.com/puppy/viewtopic.php?p=406246#406246 Hiawatha]]
useful addresses
http://192.168.0.1/ (your router)
http://192.168.0.2/ (computer 1)
http://192.168.0.5/ (computer 2)
//these numbers vary depending on how they are connected to the router//
Setup Linux-Firewall Wizard and enable **Http Web Server** using the custom option
Run Hiawatha by typing **hiawatha** at the conole
To stop the server, type in **killall hiawatha**
In /root/Web-Server the file index.html can be a test web page
**hiawatha -k** = config file check
The file
**/etc/hiawatha/hiawatha.conf**
should have something like so:
%%(language-ref)
insert-source-code-here
ServerId = webuser
ConnectionsTotal = 150
ConnectionsPerIP = 10
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log
Binding {
Port = 80
Interface = 192.168.0.2
}
Hostname = 127.0.0.1
WebsiteRoot = /root/Web-Server
StartFile = index.html
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
#add this stuff to get a perl script working (pplog)...
#QUISP has a binary executable CGI named 'quisp.bin'...
MimetypeConfig = /etc/mime.types
CGIhandler = /usr/bin/perl:pl
CGIextension = pl,bin
ExecuteCGI = yes
#QUISP puts %0D, %0A (carriage-return, line-feed) chars in the url
#(v128), to allow chars below ascii 32 need this...
SecureURL = no
Interface = 192.168.0.2
}
%%
Note these settings:
Hostname = 127.0.0.1 (this is your IP address)
""WebsiteRoot"" = /root/Web-Server
""StartFile"" = index.html (create this and put in some content)
[[http://www.murga-linux.com/puppy/viewtopic.php?t=55683 How to configure Hiawatha web server?]]
Ensure necessary permissions for ///dev/null//: %%chmod a+w /dev/null%%
~[[HiawathaServerMySQL]]
~[[Nginx]] web server