On Sun, 19 Mar 2000, Bjørn B. Stancke sent up smoke signals saying:

BBS>Help!
BBS>I've installed mod_php 3.07 (which, according to the installation doc
BBS>should be able to run REAL .php3 files as well as embedded PHP code),
BBS>but when i try to execute a "index.php3" like this:
BBS>
BBS><?php
BBS>//Header(  "Last-Modified: ".gmdate(  "D, d M Y H:i:s",getlastmod()).  "
BBS>
BBS>GMT");
BBS>
BBS>
BBS>$titel =  "Send SMS-note";
BBS>$keywords =  "php, php3, serverside, mod";
BBS>include( "$DOCUMENT_ROOT/php3/header.php3");
BBS>
BBS>?><br>
BBS><br>
BBS>
BBS>etc.
BBS>etc.
BBS>i get the code, not a web-page. Apparently, Apache does not recognize
BBS>the .php3 extension as being a PHP3 file.
BBS>
BBS>I'm running apache 1.3.9 on Linux RH 6.1

There maybe some config stuff left to so:

DirectoryIndex index.html index.php3 index.phtml index.htm index.shtml index.cgi

-and-

AddType application/x-httpd-php3 .php3

--
Chuck Mead, CTO/CEO, MoonGroup Consulting, Inc. <http://www.moongroup.com>
<chuck AT moongroup DOT com> PGP key: wwwkeys.us.pgp.net
 10:55pm  up 2 days,  7:08,  1 user,  load average: 0.15, 0.18, 0.17

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to