Re: [PHP] Please help with apache 2

2006-01-28 Thread PHP

Hi,
Thanks, putting the addtype in the directory section seems to have solved 
the problem.



- Original Message - 
From: Dan Trainor [EMAIL PROTECTED]

To: PHP [EMAIL PROTECTED]
Sent: Friday, January 27, 2006 6:09 PM
Subject: Re: [PHP] Please help with apache 2



PHP wrote:

Help, I can't find anything on this.
 I upgraded from apache 1.3 to apache 2.2
 My problem is, I currently have .htm files being parsed as php, that 
works fine.
 However, if I have the php_engine turned off for a directory, any .htm 
files will now prompt firefox to download it.
 How do I stop this? I need to keep .htm files parsed for php, but I also 
need to be able to turn php off for certain directories and still allow 
regular .htm files to be seen.

 Thanks.



Hi -

Looks like AddType can be used on a per-container (directory container, 
virtual host container, or even from htaccess, that is)-basis.  Consider 
using this to parse PHP via .html pages.  Then, you could leave php_engine 
on for the rest of the site.


Hope that helps
-dant






--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 1/27/2006

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



Re: [PHP] Please help with apache 2

2006-01-27 Thread The Doctor
On Fri, Jan 27, 2006 at 06:03:50PM -0800, PHP wrote:
 Help, I can't find anything on this.
 
 I upgraded from apache 1.3 to apache 2.2
 
 My problem is, I currently have .htm files being parsed as php, that works 
 fine.
 
 However, if I have the php_engine turned off for a directory, any .htm files 
 will now prompt firefox to download it.
 
 How do I stop this? I need to keep .htm files parsed for php, but I also need 
 to be able to turn php off for certain directories and still allow regular 
 .htm files to be seen.
 
 Thanks.


HAve you examined you php.ini and httpd.conf for any changes?
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 

Content-Description: AVG certification
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 1/27/2006
 

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

-- 
Member - Liberal International  
This is [EMAIL PROTECTED]   Ici [EMAIL PROTECTED]
God Queen and country! Beware Anti-Christ rising!
Born 29 Jan 1969 Redhill Surrey UK

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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