Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess lines

Status
Not open for further replies.

exphtur

Technical User
Jul 23, 2003
23
IE
I bought a php comment script to put on each page of html on a website but it won't run and I was wondering does any one know any other lines other than the ones below that I could try in the .htaccess file. I have not got any response as of yet from the hosting service I use about which line works on their servers

AddType application/x-httpd-php .html .htm .php
Addhandler application/x-httpd-php .html .htm .php
AddHandler x-httpd-php .html .htm .cgi .php

Thank you
 
when you say 'won't run', what do you mean? what behaviour are you seeing?

if you create a single file called phpinfo.php and put the following into it

Code:
<?php
phpinfo();
?>
what do you then see when you point your browser at this file?

which hosting service do you use?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top