Thanks guys for the help, the PHP list got me the answer.  For anyone else
wanting to know the same thing, the following solves the problems:

Add the line,
AddType application/x-httpd-php .php .html
To the httpd.conf file in /etc/httpd/conf directory.  In previous versions
of apache this line was already there.  With RH8's version the line is not
normally necessary if you only want it to read script information from the
default .php extension.

Larry S. Brown MCSE
President/CEO
Dimension Networks, Inc.
Member ICCA
(727) 723-8388

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Rick Johnson
Sent: Sunday, December 01, 2002 5:25 PM
To: [EMAIL PROTECTED]
Subject: Re: apache php change in RH8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frederic Herman wrote:
| Larry Brown wrote:
|
|> I just changed to RH8 and am trying to find a change in apache's config.
|> Previously php had a section in the httpd.conf file that described
|> what file
|> extensions apache would scan for php tags.  This way you could have it
|> scan
|> html if you wanted.  The new httpd.conf file has no such section yet
|> it does
|> run php on .php files.  I take it there is no section because it must now
|> have php support  compiled into the httpd executeable.  How can I tell
|> apache to scan for those tags?
|
| Apache httpd.conf now includes the files in /etc/httpd/conf.d  One of
| the files will be php.conf.  I'm a bit new to this, but maybe that's
| what you need to look at.  Look at the README file in the conf.d folder.

You'll also want to review the /etc/php.ini file since now the tags it
allows have changed (i.e. short tags and ASP style tags are off by default).

- -Rick
- --
Rick Johnson, RHCE - [EMAIL PROTECTED]
Linux/WAN Administrator - Medata, Inc. (from home)
PGP Key: https://mail.medata.com/pgp/rjohnson.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Signed/Encrpyted for your protection

iD8DBQE96ovQIgQdhlSHZgMRAkCsAKCzZUu+Ajz8LyEOMc4b8+Ptfx7lKQCeLEjc
hXhQAzf+snr0eGrU6v9u41M=
=8eIV
-----END PGP SIGNATURE-----




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to