diner - THE HTTP-server for the BeOS | ||
Contents
[ diner ] |
The minimum you have to do, is to copy the diner directory whereever you want and launch diner. In that case it will run on port 80 and fetch the pages from /boot/home/www. If you want to do a bit more, run the Preferences application and generate a simple settings file. This gives you an easy start, but not yet the full features of diner.
For efficient use of diner, you should not skip the next two steps:
For using php, copy the php binary to /boot/home/config/bin. Make sure that all your php files are set to the type "text/x-php". Additional to that, add the following lines to the config: AddOn CGI MIMEType application/x-vnd.Stegemann-CGI Template /boot/home/www/templates/PHP MIMEType text/x-php What happens here is the following: When the client accesses the php file, the server recognizes that instead of that file the template "/boot/home/www/templates/PHP" is used. Make sure you copy it from the distribution to your own www directory. This template is a CGI script which will be executed by the server. Then it will run php with the originally requested file. Done! |
|
Copyright © 1997-1999 Stegemann & Co.,
Inc., all rights reserved. Created: November 29, 1997. Last modified: October 13, 1999. |