|
Posted by Lee on 09/29/36 11:33
I am re-writing a site in PHP that is currently on Yahoo and I have
been testing with both
Firefox, and IE. I think Yahoo is running some version of unix or
linux, and I assume, the Apache server. My development has been on
local using XP pro.
Here's the problem: I have re-written most of the website
(www.beadiction.com) in PHP. But, the Yahoo server requires that my
first file be named index.html. If I include php code in this HTML
file, then the Apache (?) server doesn't see the php code. If I rename
index.html to
index.php, then the webserver doesn't display anything.
So, the question is: Does anyone know how to 'hook' index.html (which
uses php "includes" to load in the site's content) to Apache so that it
all runs together? As thought that I'd be able to use an Apache
directive in the .htacess file, but it appears that Yahoo does not
allow me to "see" that file. Also, I have tried using and html redirect
(via HEADERs) to kick off the index.php, hoping that that would be
enough for the PHP server to start looking at the code, but it too did
not work.
FWIW, I have been waiting for 2 weeks to get some help from the Yahoo
technical staff, who were provided the same information as above. Is
there something in the description I am perhaps leaving out that would
help state the problem more clearly?
Thanks for your help
Lee
[Back to original message]
|