Results 1 to 2 of 2
Thread: .htaccess
-
03-03-2012, 10:57 AM #1WHT Addict
- 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??
-
03-03-2012, 01:47 PM #2Web Hosting Guru
- 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
-
Wordpress htaccess override subfolders htaccess
By [Axelsson] in forum Hosting Security and TechnologyReplies: 8Last Post: 08-06-2012, 09:21 PM -
Convert *htaccess* to *lighttpd htaccess* rules ??
By xSinax in forum Hosting Security and TechnologyReplies: 2Last Post: 09-08-2010, 06:17 AM -
disable htaccess with other htaccess
By Markovic in forum Hosting Security and TechnologyReplies: 2Last Post: 03-09-2010, 10:22 AM -
htaccess.ini -vs- .htaccess
By rgartman in forum Hosting Security and TechnologyReplies: 1Last Post: 02-18-2005, 10:01 PM -
.htaccess
By babbsela in forum Hosting Security and TechnologyReplies: 1Last Post: 04-10-2002, 11:49 PM