robotstats php-code in HTML-file

dk-one
Nouveau WRInaute
 
Messages: 2
Inscription: Mer Déc 03, 2003 17:10

robotstats php-code in HTML-file

Message le Mer Déc 03, 2003 18:03

Hi folks,

I would enjoy robotstats too. I installed it correctly. After implementing the php-code in each page and activating the test-bot I saw nothing.

The error is that apache do _NOT_ interprets php-code in files with ending .html. But I cannot rename all the .html-files into php-files.

Anyone who knows a solution? Maybe with an add-httpd-directive?

Would bei geat!!!

Thanx

Dirk


WebRankInfo
Administrateur du site
Administrateur du site
 
Messages: 15808
Inscription: Ven Avr 19, 2002 19:51

Message le Mer Déc 03, 2003 19:50

add this line in your .htaccess:
Code: Tout sélectionner
AddType application/x-httpd-php .html

Vespa
WRInaute impliqué
WRInaute impliqué
 
Messages: 341
Inscription: Lun Nov 17, 2003 9:41

Message le Jeu Déc 04, 2003 12:03

Bonjour,

J'ai également ce probleme alors j'ai essayé cette solution mais cela me met une erreur quand je lances mon sites...

Je ne comprends pas trop...


Lectures recommandées sur ce thème :



Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités