New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

htaccess configuration


Post Reply New Thread Subscribe

 
Thread Tools
frisbeefodder

 
Member Since: Apr 15, 2008
Posts: 33
frisbeefodder is on a distinguished road

frisbeefodder is offline
Hi guys,
I am working with a team who have built a site in htm using server side includes.

I am hosting this on my server now and need to configure htaccess to render the htm files as php.

Anyone have any ideas how to do this?

Thanks!

These are just sites of mine that I run:
Frisbee Fodder - Geek Web Comic
78 Web Design
Olive Oil Soaps
QUOTE Thanks
frisbeefodder

 
Member Since: Apr 15, 2008
Posts: 33
frisbeefodder is on a distinguished road

frisbeefodder is offline
It's ok, I figured it out.

Just add:

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

These are just sites of mine that I run:
Frisbee Fodder - Geek Web Comic
78 Web Design
Olive Oil Soaps
QUOTE Thanks
crazytalker46

 
Member Since: Jun 03, 2008
Location: Nevada
Posts: 3
crazytalker46 is on a distinguished road
Mac Specs: MBP 2GB, 250 GB HD, 2.5Ghz; 32 GB iTouch

crazytalker46 is offline
I'm not exactly sure what you are trying to do with your site, but if you are just using includes to keep the same layout or something, you may find it easier to save the files as .php and then just use the <?php include('file.php') ?> tags right inside your document.
QUOTE Thanks

Post Reply New Thread Subscribe


« Google Apps for your Domain | Fade rollover effect with javascript »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How to set up a RAID configuration on G4 dual 1 G - with Tiger synthg33k Switcher Hangout 5 11-25-2007 07:26 PM
x11 configuration file help ScKaSx OS X - Development and Darwin 1 10-16-2007 07:24 AM
extract proxy configuration from .pac script sdebrois OS X - Development and Darwin 0 06-17-2007 01:46 PM
Restore it from original configuration nseawater OS X - Apps and Games 1 05-16-2007 01:04 PM
Printer Configuration issues. pal Switcher Hangout 3 11-13-2005 11:50 PM

All times are GMT -4. The time now is 01:15 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?