Perhaps the new version doesn't need the AddType for the default extension
of php because it worked without this declaration.  However, the declaration
works as I added it and restarted the server.  It now works as I needed.  I
thank you for your help.  I suppose I should have tried this before posting
the question.  Sorry to have wasted your time.  Hopefully someone else will
fail to test it first and find my question before posting and save everyone
time in the future.

Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388

-----Original Message-----
From: Evan Nemerson [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 01, 2002 4:53 PM
To: Larry Brown; [EMAIL PROTECTED]
Subject: Re: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions
for php

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

Find the line that looks like "AddType application/x-httpd-php .php", and
change it to "AddType application/x-httpd-php .php .html"


On Sunday 01 December 2002 01:34 pm, Larry Brown wrote:
> I just moved to a machine with RH8 that has their latest version of
apache.
> On prior versions httpd.conf had a section that I could set to have the
> server scan .html extensions for php tags.  There is no longer such a
> section even though the server does appropriately scan .php files.  Does
> anyone know how I can have it scan different extensions?
>
> Larry S. Brown
> Dimension Networks, Inc.
> (727) 723-8388
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE96oTZ/rncFku1MdIRAlXQAJ9lV5cmg2MLXnnSIVsFWW157+puBQCfTzya
TGBEeaXx+9XlBxHbzEtWwos=
=Ajqh
-----END PGP SIGNATURE-----


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to