Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP mime types
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ozzian
n00b
n00b


Joined: 01 Mar 2003
Posts: 3
Location: Sweden

PostPosted: Sat Mar 01, 2003 2:03 am    Post subject: PHP mime types Reply with quote

I finally got php4 up and running with apache2. Now my only problem is apache won't handle files with the extension .php. It handles .php4 and .php3-files correctly but trying to access a .php-file only generates a download dialog. In 70_mod_php.conf which is included from apache2.conf mime types are added, but that doesn't seem to have any effect.

So, does somebody know how to make apache handle .php-files too?
Back to top
View user's profile Send private message
atac
Apprentice
Apprentice


Joined: 04 Jan 2003
Posts: 234
Location: haninge, swe

PostPosted: Sun Mar 02, 2003 12:36 am    Post subject: Reply with quote

do you have these:

Code:

AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps


?
_________________
1 + 1 + 1 = 11
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum