Results 1 to 3 of 3
  1. #1
    htaccess configuration

    Member Since
    Apr 15, 2008
    Posts
    33
    htaccess configuration
    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

  2. #2
    htaccess configuration

    Member Since
    Apr 15, 2008
    Posts
    33
    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

  3. #3
    htaccess configuration

    Member Since
    Jun 03, 2008
    Location
    Nevada
    Posts
    3
    Specs:
    MBP 2GB, 250 GB HD, 2.5Ghz; 32 GB iTouch
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Web developing, Htaccess
    By patrickv in forum Web Design and Hosting
    Replies: 9
    Last Post: 03-20-2011, 04:44 AM
  2. .htaccess headaches
    By bexxy in forum Web Design and Hosting
    Replies: 6
    Last Post: 09-12-2009, 06:11 PM
  3. MAMP and htaccess
    By roggnroll in forum Web Design and Hosting
    Replies: 8
    Last Post: 01-14-2007, 04:36 AM
  4. Working with .htaccess files
    By vickers in forum Web Design and Hosting
    Replies: 11
    Last Post: 12-03-2006, 11:08 AM
  5. how secure is .htaccess
    By adamherb in forum Web Design and Hosting
    Replies: 1
    Last Post: 10-02-2005, 01:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •