Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PHP AddType html



Hi Everyone,

I was trying to add .html and .htm as php file types on the httpd.conf file.

AddType application/x-httpd-php .php
Here is what I added...
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm

I tried this on my OSX box and it works fine, all the PHP code on the .html
files were processed. But when I try doing this on the OSXS box, the PDP
code on the .html file was ignored while the .php file was processed. Any
idea what else I need to do? ( restarted the whole server box...)

Does the fact that I am making SSI to process all .html files as well messes
this up?

Thank you very much!
Cars

--
Carson Au
Web Development Coordinator
Faculty of Education,
Simon Fraser University,
Burnaby, B.C. V5A 1S6
Canada
http://www.educ.sfu.ca
Ph: 604-291-4278 Fax: 604-291-4203
email@hidden
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.