diff options
| author | Mikhail Teterin <mi@FreeBSD.org> | 2001-10-28 08:37:27 +0000 |
|---|---|---|
| committer | Mikhail Teterin <mi@FreeBSD.org> | 2001-10-28 08:37:27 +0000 |
| commit | 40df45352156d24ae7ab2105eaf4b894900455f0 (patch) | |
| tree | 5f9afb850e66875f994e795c1cb436bef20eb4b3 /www/neowebscript/files/neowebscript.conf | |
| parent | Prevent build from breaking when the user has incompatible version of (diff) | |
NeoWebScript[tm] is a module for the Apache webserver that allows you to
embed the Tcl/Tk programming language in your webpages as a scripting
tool. It was invented by Karl Lehenbauer, NeoSoft's Chief Technical
Officer, and documented, enhanced and extended by NeoSoft's programmers
and technical writers.
WWW: http://www.sourceforge.net/projects/nws/
The changes:
. don't build the Apache, TclX, gd, db, neo-tcl bundled in the
tarball, but use those that are installed by their ports
. don't generate GIFs -- use PNGs
. look in /var/log for Apache's log file
. use /var/db/neowebscript for caches and per-user databases
. expose some configuration knobs into the neowebscript.conf --
there should be no need to edit init.tcl itself anymore
All of the bundled demos work, except for the gd-based banner generator.
The demo code uses Gdtclft commands that don't exist in the modern Gdtclft.
Diffstat (limited to 'www/neowebscript/files/neowebscript.conf')
| -rw-r--r-- | www/neowebscript/files/neowebscript.conf | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/www/neowebscript/files/neowebscript.conf b/www/neowebscript/files/neowebscript.conf new file mode 100644 index 000000000000..f192a623b3ac --- /dev/null +++ b/www/neowebscript/files/neowebscript.conf @@ -0,0 +1,45 @@ +#### +#### NeoWebScript-specific Apache configuration lines +#### (uncomment to activate) +#### + +LoadModule neoscript_module libexec/apache/mod_neoscript.so +#LoadModule neo_userdir_module libexec/apache/mod_neo_userdir.so +#LoadModule log_neo_module libexec/apache/mod_log_neo.so +#LoadModule auth_tcl_module libexec/apache/mod_auth_tcl.so + +## Enable the NeoWebScript handler +AddType text/html .nhtml .nws +AddHandler neo-server-parsed .nhtml .nws + +## Enable the NeoWebScript subst handler +AddType text/html .shtml +AddHandler neo-server-subst .shtml +DirectoryIndex index.nhtml + +## Enable these two lines if you want GD Image Generation support turned on. +AddType image/png .gd +AddHandler neo-generate-image .gd + +## Comment this lines out to disable nws-common in VirtualHosts +Alias /nws/ /usr/local/share/doc/neowebscript/ +Alias /neowebscript/ /usr/local/share/doc/neowebscript/ +Alias /nws-common/ /usr/local/share/doc/neowebscript/nws-common/ + +#### End of NeoWebScript configuration #### +########################################### + +<Directory /usr/local/share/doc/neowebscript> + Options Includes +</Directory> + +# Uncomment and modify this to change the default locations. +# This is where the user-specific and system-wide database files +# will be created. You'll need to create this directories +# manually and set the apropriate permissions: + +#NeoWebDirConf parallelUserBase /var/db/neowebscript/users +#NeoWebDirConf parallelSystemBase /var/db/neowebscript/system + +# To turn debugging on uncomment: +#NeoWebDirConf debugging 1 |
