  | |  | Apache and PHP | Apache and PHP 2004-02-12 - By Mike Burger
Back On Thu, 12 Feb 2004, Ajai Khattri wrote:
> On Thu, 12 Feb 2004, Mike Burger wrote: > > > I just upgraded an old 7.1 box to RHL9. The version of Apache that comes > > with Shrike doesn't seem to want to do more than display my php3 files, > > all of which worked previously. > > > > Hence, webmail be broken. > > > > Any advice would be greatly appreciated. > > > > And yes, I did make sure to add things ".php" and ".php3" to my DirectoryIndex > > line. > > You need add a PHP3 handler to your httpd.conf - something like: > > > <IfModule mod_php4.c> > # > # For PHP 3.x: > # > AddType application/x-httpd-php3 .php3 > AddType application/x-httpd-php3-source .phps > # > # And for PHP 4.x, use: > # > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > </IfModule> > > > Shouldn't be hard to add the two extra lines and restart Apache.
Nuts...adding this to my php.conf file causes Mozilla to ask what to do with the php3 file.
Oy. -- Mike Burger http://www.bubbanfriends.org
Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000
To be notified of updates to the web site, visit http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a message to:
site-update-request@(protected)
with a message of:
subscribe
-- Shrike-list mailing list Shrike-list@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |