RE: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php

From: Date: Sun, 01 Dec 2002 23:51:23 +0000
Subject: RE: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126647@lists.php.net to get a copy of this message
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:evan@coeus-group.com] Sent: Sunday, December 01, 2002 4:53 PM To: Larry Brown; php-general@lists.php.net 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

« previous php.general (#126647) next »