httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Moreira <luis.more...@esinnovation.pt>
Subject Re: [users@httpd] Apache: Tries to download php files
Date Fri, 30 Jul 2004 08:12:11 GMT
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
>
>
>  
>

Mime
View raw message