Hello,
I have apache (1.3.26-0woody1), apache-perl (1.3.26-1-1.26-0woody1), apache-ssl (1.3.26.1+1.48-0woody2), php4 (4:4.1.2-4), and php4-cgi (4:4.1.2-4) installed on my system (Linux yaveng 2.4.17 #4 Wed Mar 6 08:25:23 PST 2002 ppc unknown). After a bit if fiddling around I got apahce/php4 to load files named .php3 as php files, but anything named .php or .php4 gets ignored and is sent to the users browser as "application/x-httpd-php" as if php were not configured. The problem occurs in a users /public_html/ directory. Here is what my php section my my httpd.conf looks like: ---cut-here--- AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps ---cut-here--- I tried replacing the "x-httpd-php" with "x-httpd-php4" but that results in sending the entire file to the user for download. If I place the file in /cgi-bin/ inside /public_html/ it works. So I feel I'm just missing a very simple solution to the problem... It's been a long time since I've configured apache, php, perl, and friends so I'm sure I'm just missing something - but having looked through the documentation, searched this lists archives, and google, I'm not seeing a solution. Any help would be greatly appricated! TIA, Ron -- Email: <[EMAIL PROTECTED]> or <[EMAIL PROTECTED]> Home: <http://farrer.net/~rbf/>
msg00383/pgp00000.pgp
Description: PGP signature