From: Claes W. <kl...@gm...> - 2004-12-02 21:16:24
|
Howdy, Just replying to the latest question on php allthough this gmail account isn't yet receiveing the mails from the the list. (thus the reply isn't threaded to the question) Anyway, I'm running php from yaws just fine at: http://www.hyber.org/occ-1.0.8/index.php which is a chess program I'm runing for me ans my friends. It's a fatso php kit that does all the chess-ing. (Maybe the error you do is to not invoke the cgi version of php ??? ) My conf says: # conf for yaws # first we have a set of globals logdir = /var/log/yaws ebin_dir = /var/yaws/ebin ebin_dir = /matrox/www/www.hyber.org/ekumenisk_bandy include_dir = /usr/local/lib/yaws/examples/include php_exe_path = php-cgi #end then a set of servers # enter hostname and IP here <server yaws.hyber.org> dir_listings = true port = 80 listen = 0.0.0.0 docroot = /var/yaws/www </server> <server www.hyber.org> port = 80 listen = 0.0.0.0 dir_listings = true tilde_expand = true docroot = /matrox/www/www.hyber.org allowed_scripts = php yaws appmods = attachment <auth> dir = /media realm = media user = erik:erik user = mbj:mjb user = jb:jb user = pekka:pekka user = roffe:roffe user = seb:seb user = ubbe:ubbe user = susanne:susanne user = per:per </auth> <auth> dir = /Pics realm = user_medelpad user = medelpad:marsvin </auth> </server> |