Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 16, 2012, 07:14:07 PM

Pages: [1]   Go Down
  Print  
Author Topic: mime types/apache handler?  (Read 461 times)
tolrtd
Newbie
*
Offline Offline

Posts: 5


« on: July 03, 2004, 04:32:55 AM »

on my website, i need to make the extension .inc be executed as php.  I've tried to add a new mime type with application/x-httpd-php but that did not work.  i tried it with both "inc" and ".inc".  i also tried various things in the apache handler which i don't believe is as flexible for adding php extension.  Any ideas? can this be done/overridden? thanks in advance.
Logged
donavin410
Galactic Royalty
*****
Offline Offline

Posts: 331



WWW
« Reply #1 on: July 03, 2004, 05:43:06 PM »

Hello,
 Try setting it up like so..

 AddType x-httpd-php .htm

You do not need the application/ in you code... Thumbs Up
Logged

d-410.com
Pages: [1]   Go Up
  Print  
 
Jump to: