ApacheTutor.com
                 
HomeApache TutorialsForumSitemap
Forum
Username:
Password:

Register


    

Apache Forum


All Categories > Apache Configuration > Configuration >  Parsing PHP in .html Files
Total Posts: 6 - Pages (1): [1]
Author: Patrizia Klugstiefel
Posted: Feb 06 2007 - 04:46
Subject: Parsing PHP in .html Files
hi there,

i`ve got a problem:

there is this .htaccess file and every time i want to add the code, there is the question coming up if i want my page to be closed or opened. it`s annoying, is there any oppertunity to solve this problem?

patty
Author: Lars Wiffen
Posted: Feb 06 2007 - 04:48
Subject: re: Parsing PHP in .html Files
what code are you using?
Author: Patrizia Klugstiefel
Posted: Feb 06 2007 - 04:50
Subject: re: re: Parsing PHP in .html Files
i`m not quite sure,
i ve tried a few thing, but the last code i used was :

Code:

AddHandler application/x-httpd-php .html

Author: Hans-Peter Vössel-Trossig
Posted: Feb 06 2007 - 05:05
Subject: re: re: re: Parsing PHP in .html Files
i think thats the problem, you shoud better change to a host with cpanel.
I´ve had the same problem once and changed the host with cpanel and it never came up again..

have a go

h.p.
Author: Lars Wiffen
Posted: Feb 06 2007 - 05:07
Subject: re: re: re: re: Parsing PHP in .html Files
thats actually not a bad idea try it!
Author: Patrizia Klugstiefel
Posted: Feb 06 2007 - 05:10
Subject: re: re: re: re: re: Parsing PHP in .html Files
thank you all so much for your help. appreciate it...

and yes, it worked, i just changed the host with cpanel , great, thank you!

Total Posts: 6 - Pages (1): [1]
You must login to post a message to this conference.






















































  © 2005 ApacheTutor.com - Use of this website signifies your agreement to the Terms of Use.