[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] Apache: Tries to download php files
From:       Luis Moreira <luis.moreira () esinnovation ! pt>
Date:       2004-07-30 8:12:11
Message-ID: 410A02DB.6030801 () esinnovation ! pt
[Download RAW message or body]

Do you have

   Action application/x-httpd-php <path-to-php.exe>/php.exe

on your httpd.conf ?

Luis


Robin Wilson wrote:

>Hi
>
>I've done what you have suggested and it still tries to download the php
>file.
>
>Any other ideas?
>
>Robin
>----- Original Message ----- 
>From: "Eimantas Vaiciunas" <eimantas.vaiciunas@sc.vu.lt>
>To: <users@httpd.apache.org>
>Sent: Friday, July 30, 2004 8:58 AM
>Subject: Re: [users@httpd] Apache: Tries to download php files
>
>
>  
>
>>On Friday 30 July 2004 09:54, Robin Wilson wrote:
>>    
>>
>>>Hi all,
>>>
>>>I have installed Apache2 and php using the rpm files included in my
>>>      
>>>
>distro.
>  
>
>>>Apache now works fine, except that when I try to access a php file, the
>>>browser tries to save it.
>>>      
>>>
>>The problem is that apache server does not pass the php files to php
>>interpreter.
>>
>>    
>>
>>>I have looked on the internet and added in the line to my httpd.conf
>>>      
>>>
>file
>  
>
>>>(in fact to my mod_mime-defaults file...because this is included into
>>>      
>>>
>the
>  
>
>>>httpd.conf file):
>>>
>>>"AddType application/a-httpd-php .php"
>>>      
>>>
>>Remove everything you've added to mod_mime-defaults file. You must add new
>>mime types only by using AddType directives:
>>AddType application/x-httpd-php .php
>>AddType application/x-httpd-php-source .phps (optional)
>>
>>-----
>>Eimis
>>
>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>>    
>>
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.732 / Virus Database: 486 - Release Date: 30/07/04
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>  
>

["luis.moreira.vcf" (text/x-vcard)]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic