Forum Moderators: phranque

Message Too Old, No Replies

Placement of .htaccess info

.htaccess php

         

fuzzmaster

7:09 pm on Apr 17, 2006 (gmt 0)

10+ Year Member



I've searched here and on the web for this answer. It may be in my face or I am having a hard time understanding. I know what to put in .htaccess to default the use of php5 instead of php4, but I just don't know hwere.

AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

do I just take the above. name a file .htaccess and then put it in there. Is that it? please help.

jdMorgan

8:15 pm on Apr 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Generally, yes, you'd put a plain-text file named .htaccess in the top-level directory of your site that is accessible from the Web -- that is, the same directory where your 'home page' and robots.txt file are located.

Jim

fuzzmaster

8:24 pm on Apr 17, 2006 (gmt 0)

10+ Year Member



thank you. one answer down 2zillion more questions to go.