[thelist] running .shtml files as .php on apache - Sun shops

Snadden Tim Tim.Snadden at nzpost.co.nz
Sun Mar 12 14:10:56 CST 2006

You need to configure Apache (via httpd.conf or .htaccess) to process
.shtml files with PHP. E.g.

AddType application/x-httpd-php .php .shtml

> -----Original Message-----
> From: thelist-bounces at lists.evolt.org 
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Rich Points
> Sent: Saturday, 11 March 2006 4:40 a.m.
> To: thelist
> Subject: [thelist] running .shtml files as .php on apache - Sun shops
> Hi,
> I have a client who's site was converted to .shtml file 
> extensions in the past year.  The client is now looking at 
> Sunshop for a shopping cart.  Sunshop is written in PHP, I'm 
> wondering if I set Apache to run .shtml files as php if the 
> program would run cleanly? 
> Has anyone out there ever set anything up like this?  If so 
> how did it work out?
> Thanks
> Rich
> -- 
> * * Please support the community that supports you.  * * 
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip 
> Harvester and archives of thelist go to: 
> http://lists.evolt.org Workers of the Web, evolt ! 
This email with any attachments is confidential and may be subject to legal privilege.  
If it is not intended for you please reply immediately, destroy it and do not copy, disclose or use it in any way. 

More information about the thelist mailing list