freebsd-ports/www/neowebscript/files/neowebscript.conf.in
Mikhail Teterin 8e6385511c Allow use of Tcl-8.5 in both tcl-neo and neowebscript (its the former's primary
consumer). Clean up another ton of warnings (to the level of WARNS=3 in tcl-neo
and WARNS=2 in neowebscript).

Update the installation of neowebscript.conf so as to not overwrite the existing
version, if any.
2010-01-19 05:43:57 +00:00

45 lines
1.4 KiB
Text

####
#### NeoWebScript-specific Apache configuration lines
#### (uncomment to activate)
####
LoadModule neoscript_module %%APACHEMODDIR%%/mod_neoscript.so
#LoadModule neo_userdir_module %%APACHEMODDIR%%/mod_neo_userdir.so
#LoadModule neo_log_module %%APACHEMODDIR%%/mod_log_neo.so
#LoadModule tcl_auth_module %%APACHEMODDIR%%/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/ %%DOCSDIR%%/
Alias /neowebscript/ %%DOCSDIR%%/
Alias /nws-common/ %%DOCSDIR%%/nws-common/
#### End of NeoWebScript configuration ####
###########################################
<Directory %%DOCSDIR%%>
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