Results 1 to 2 of 2

Thread: .htaccess

  1. #1
    Join Date
    Mar 2006
    Posts
    151

    .htaccess

    ok i have setup php4 IN MYSERVER( ia have as default php5)...now i went to the site whch needs php4 to work correctly, i added .htaccess file in public_html directory with these line inside AddHandler x-httpd-php4 .php

    but now i can't see the site. everything is downloading(from the site)....for example when i type mysite.com/index.php it downloads the file, not showing...any ideas??

  2. #2
    Join Date
    May 2009
    Posts
    312
    AddHandler application/x-httpd-php4 .php

    This is the right handler for php4. Or copy the file index.php to index.php4 and load domain.com.index.php4 & see if it works to check whether php4 is working correctly or not.

Similar Threads

  1. Wordpress htaccess override subfolders htaccess
    By [Axelsson] in forum Hosting Security and Technology
    Replies: 8
    Last Post: 08-06-2012, 09:21 PM
  2. Convert *htaccess* to *lighttpd htaccess* rules ??
    By xSinax in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-08-2010, 06:17 AM
  3. disable htaccess with other htaccess
    By Markovic in forum Hosting Security and Technology
    Replies: 2
    Last Post: 03-09-2010, 10:22 AM
  4. htaccess.ini -vs- .htaccess
    By rgartman in forum Hosting Security and Technology
    Replies: 1
    Last Post: 02-18-2005, 10:01 PM
  5. .htaccess
    By babbsela in forum Hosting Security and Technology
    Replies: 1
    Last Post: 04-10-2002, 11:49 PM

Posting Permissions

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