SuzanneB
07-10-2005, 04:40 AM
I have a few sites that use PHP extensively.
I have been a bit unhappy with my host recently, because their servers are a little bit slow, so I have been trying out a new host.
So far there have been no problems at all, well, with the exception of one fairly small problem. The new server bans the use of .htaccess because of some security issue or other. Now ALL of my files contained a php include, which means of course that they need to be renamed to .php because I can’t change what the server sees as a file that may include php. That’s not a problem with 99% of the files, but it is a problem with index.htm. Of course if I rename that one, then it stops working. Now I can think of a solution to that problem but I don’t like it much. Basically get rid of the include and php in the index.htm and hard code it. But clearly this is not very nice. I wanted to ask the community here, which do they consider to be the best solution.
I have been a bit unhappy with my host recently, because their servers are a little bit slow, so I have been trying out a new host.
So far there have been no problems at all, well, with the exception of one fairly small problem. The new server bans the use of .htaccess because of some security issue or other. Now ALL of my files contained a php include, which means of course that they need to be renamed to .php because I can’t change what the server sees as a file that may include php. That’s not a problem with 99% of the files, but it is a problem with index.htm. Of course if I rename that one, then it stops working. Now I can think of a solution to that problem but I don’t like it much. Basically get rid of the include and php in the index.htm and hard code it. But clearly this is not very nice. I wanted to ask the community here, which do they consider to be the best solution.