naviserver / naviserver (http://naviserver.sf.net/)
fork of aolserver-40x
NaviServer is a high performance web server written in C and Tcl. It can be easily extended in either language to create interesting web sites and services.
Clone this repository (size: 9.7 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/naviserver/naviserver/
| commit 1011: | 38adb56e8b8d |
| parent 1010: | 200224d4dc23 |
| child 1012: | 747d6b95d30f |
Remove include/Makefile.module on make distclean
6 years ago
NB: This is not the latest revision. For the latest view, go to tip.
| filename | size | last modified | ||
|---|---|---|---|---|
| doc | ||||
| include | ||||
| nscgi | ||||
| nscp | ||||
| nsd | ||||
| nsdb | ||||
| nsext | ||||
| nslog | ||||
| nspd | ||||
| nsperm | ||||
| nssock | ||||
| nsssl | ||||
| nsthread | ||||
| tcl | ||||
| tests | ||||
| win32 | ||||
| .hgtags | 456 B | 6 years ago | Tag aolserver-4.0.3 | |
| ChangeLog | 71.4 KB | 6 years ago | Add configurable error logging which cause the driver to dro… | |
| Makefile | 2.4 KB | 6 years ago | Remove include/Makefile.module on make distclean | |
| README | 4.5 KB | 7 years ago | Add support for purify | |
| aclocal.m4 | 1.5 KB | 8 years ago | New files for simple autoconf style config based on Tcl… | |
| configure | 42.0 KB | 7 years ago | Added --disable-shared option and STATIC_BUILD variable | |
| configure.in | 4.8 KB | 7 years ago | Added --disable-shared option and STATIC_BUILD variable | |
| index.html | 3.7 KB | 9 years ago | Ns_InfoTag and ns_info tag added (uses CVS Name); reported i… | |
| ini2tcl.tcl | 1.9 KB | 8 years ago | Simplified install steps a bit | |
| install-sh | 2.2 KB | 7 years ago | Support --enable-symbols; use the Tcl install-sh install… | |
| license.terms | 24.3 KB | 7 years ago | Updated README and other files to match AOLserver 3.x | |
| sample-config.tcl | 15.7 KB | 6 years ago | Add configurable error logging which cause the driver to dro… | |
| tcl2ini.tcl | 1.7 KB | 8 years ago | Simplified install steps a bit |
README
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 | WHAT IS THIS?
-------------
This is the source distribution of the NaviServer, a versatile
multiprotocol (httpd et al) server written in C/Tcl. It can
be easily extended in either language to create interesting
web sites and services.
Contents
--------
1. Introduction
2. Documentation
3. Compiling and installing
4. Mailing lists
1. Introduction
---------------
NaviServer is maintained, enhanced, and distributed freely by the
open source community. The home for NaviServer downloads and bug/patch
database is located on the SourceForge site:
http://sourceforge.net/projects/naviserver
Source code is available from the BitBucket site:
http://bitbucket.org/naviserver/
Another resource is the Tcl wiki:
http://wiki.tcl.tck/naviserver
NaviServer is a freely available open source package. See the file
"license.terms" for complete information.
2. Documentation
----------------
Documentation is available in the "doc" subdirectory. At this
point it is incomplete and is considered to be a work in progress.
Once done, it will be distributed in Unix nroff format (suitable
for viewing with Unix "man" command) and HTML format (suitable
for viewing with any HTML-compatible browser).
The latest development version is available online:
http://naviserver.sourceforge.net/n/toc.html
3. Compiling and installing
---------------------------
The server is known to compile and run on FreeBSD, Linux, Solaris,
Mac OS/X 10.2+ and Windows. To compile and install:
3a. Download, configure, build and install Tcl 8.4 or better
You may use the version of Tcl already installed on your machine
if it was built with threads enabled. The configure step below
will complain if this is not the case.
You can download the latest Tcl release from http://tcl.tk and follow
the instructions in the included README. You may install Tcl within the
directory you intend to install the server (e.g., /usr/local/ns) or
in some other location. The following should work:
$ gunzip < tcl8.4.12-src.tar.gz | tar xvf -
$ cd tcl8.4.12/unix
$ ./configure --prefix=/usr/local/ns --enable-threads --enable-symbols
$ make install
3b. If you don't have GNU make (Linux make is GNU make), install
it, as the server's makefiles require it. If you're not sure
if you have GNU make, try "make -v" to check. You can get
GNU make at http://www.gnu.org.
3c. Download, configure, build, and install NaviServer.
Oficial releases:
http://sourceforge.net/project/showfiles.php?group_id=130646
Latest development source code:
http://bitbucket.org/naviserver/naviserver/
The following should work for official releases:
$ gunzip < naviserver-4.99.2.tar.gz | tar xvf -
$ cd naviserver-4.99.2
$ ./configure --prefix=/usr/local/ns --with-tcl=/usr/local/ns/lib --enable-symbols
$ make
$ su -c 'make install'
The server's configure script takes the following options:
--with-tcl=/usr/local/ns/lib
Path to library installation directory of Tcl where
configure can find the tclConfig.sh script. Without
this option, configure will search around for
tclConfig.sh, perhaps finding it in ../tcl8.4.12/unix.
--with-zlib=/usr
You will need the zlib compression library headers available.
e.g. $ yum install zlib-devel, for Fedora Linux. If the headers
are not located in the usual places where the compiler looks,
you can tell configure where to find them with the --with-zlib
option.
--enable-symbols
Compile with debug symbols enabled. Recommended.
--prefix=/usr/local/ns
Set the installation directory for the server. All
program, man page, and runtime files (e.g., log
files) will be install or updated within this
directory.
To compile with Purify tool, set the variable $PURIFY to
your Purify executable along with any options you desire, e.g.,
make PURIFY="purify -cache-dir=/home/joe/my-cache-dir" install
If you checked out the source directly replace "./configure"
in the example above with "./autogen.sh" to get the initial
makefiles created.
You will need recent versions of autoconf and automake installed.
You will need 'dtplite' which is part of 'tcllib' installed if you
want to build the documentation.
See: 'make help' for more.
3d. Create and edit a config file (nsd.tcl, by convention)
A couple of samples are provided to get you started:
$ cd /usr/local/ns
$ cp sample-config.tcl nsd.tcl
$ vi nsd.tcl
sample-config.tcl contains every possible configuration option and
it's default value. Remove the ones you don't need.
simple-config.tcl contains a basic set of the important configuration
options you are likely to need. Add to it as neccessary.
3e. Try running the server in a shell window:
$ cd /usr/local/ns
$ ./bin/nsd -f -t conf/nsd.tcl
The '-f' option runs the server in the foreground with important
log messages directed to your terminal.
3f. To download and install additional modules:
You will need the Mercurial version control system installed. It is
included in most Linux distributions: e.g. yum install mercurial. For
Windows and Mac OSX see: http://www.selenic.com/mercurial
$ hg clone http://bitbucket.org/naviserver/nsfoo/
$ cd nsfoo
$ make install NAVISERVER=/usr/local/ns
See: http://bitbucket.org/naviserver/ for a full list of modules.
3g. To compile for Windows, you need Msys + Mingw
Info: http://www.mingw.org/download.shtml
Download: http://prdownloads.sourceforge.net/tcl/msys_mingw8.zip
The Msys + Mingw download above is the minimal environment needed
to build Naviserver under Windows. It includes a shell environment and
gcc.
To install, you just download the zip file and extract the
files into a directory. The README.TXT file describes how to launch
the msys shell.
You then run the configure script in the naviserver directory. The
Msys based configure/build process works just like the UNIX one.
Example of building naviserver.exe:
Run dos prompt or cmd.exe, assuming msys_mingw8.zip is unpacked in the root of drive c:
c:>cd msys
c:\msys> msys.bat
$ cd /c/naviserver-4.99.2
$ ./configure --prefix=c:/naviserver --with-tcl=c:/naviserver/lib
$ make install
Example above assumes Tcl is also built using mingw with prefix c:/naviserver
4. Mailing lists
----------------
There are mailing lists for NaviServer to discuss anything from
configuration, development, and future direction. To join visit:
http://sourceforge.net/projects/naviserver
Thank you for your interest in NaviServer. We hope you find it
useful and look forward to hearing from you on our mailing list.
-EOF-
|
