Doug Gough wrote:
> 
> I've read some of the docs, looked through the config files, and puzzled
> over this for 2 whole days.....I can't get Apache to treat php files as
> anything other than plain text. I know I'm missing something obvious, but I
> don't know what. I wonder if someone who has php working with apache would
> be willing to send me thier config files (httpd.conf, commonhttpd.conf, ?)
> or at least the relevant parts, so I could compare them with my own.

Doug--

You are on the right track.  The relevant portions are as follows:

AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps

(I left the .php3 in there, as I have several scripts that have the
.php3 extension.)

This should do the trick.

-- 
Craig Sprout
Network Administrator
Crown Parts and Machine, Inc.
http://www.crownpartsandmachine.com


Reply via email to