![]() | Welcome, $webenv(REMOTE_ADDR)! |
![]() | This page served out using the subst method. |
![]() | Version $webenv(SERVER_SOFTWARE) |
![]() | The time is [clock format [clock seconds]]. |
![]() | You are using: [ if {[info exists webenv(HTTP_USER_AGENT)]} {format $webenv(HTTP_USER_AGENT)} {format {some strange browser}} ]. |
You can set the following environment variables to customize your server before starting neowebscript-sa:
Environment Variable | Setting | Default |
---|---|---|
HTTP_ROOT | Server Root Directory | /usr/tcltk/lib/neowebscript-sa |
HTTP_DOCROOT | Server Document Root Directory | \$HTTP_ROOT/htdocs |
HTTP_PORT | Server Port | 80 |
HTTP_EMAIL | Webmaster Email address | webmaster@your.domain.com |
HTTP_LOGFILE | HTTP Log file | /dev/null |
You can now serve out parsed, Tcl-enabled, cachable, database-ready webpages to your heart's content. To do that, simply replace the file "index.html" (that name can be changed. Hint: check out the httpd.conf file in the /conf directory) with your home page, and set "DocumentRoot" to point to the location of your web pages, pictures, sounds, video, etc. If you need more infomation, click on the "NeoWebScript-SA" link above.
Happy Surfing!