Hi! I'll appologize up front if these questions are stupid questions,
I'm not really much of a computer guy, I'm just trying to learn.
I've dowloaded and installed Apache, and I followed instructions found
at
http://www.devshed.com/c/a/Apache/Configuring-and-Using-the-Apache-HTT...eb-Serv
for setting up Apache for cgi and for PHP, but it hasn't worked.
I really don't know how accurate this guys instructions are, since if
you look at them you'll see that he leaves out an awfull lot of "/"'s
in his file paths, but they are the only instructions that I could
find.
Anyway, I've got two problems. The first problem is that when I
direct my browser (Mobious Firefox) to
http://localhost/index.html,
the site does come up but I can still see the actual HTML code. If I
switch over to IE the page does appear as it should, without the
source code. I don't know if this is a problem with Firefox, or with
my configuration.
The bigger problems come in with CGI and PHP scripts, which don't work
at all. When I try the PHP address,
http://localhost/test.shtml, I
get a 404 Not Found message. I get the same message if I enter
http://localhost/cgi-bin/test.bat to test the cgi script. These
messages both occur in Firefox.
In IE I also get a 404 error on the CGI and PHP script, but that error
does give me the option of going back to localhost (this may just be
something that IE does automatically).
Just to recap, I'm asking two seperate questions: 1) Why can I pull
up localhost/index.html on IE but not on Firefox, and 2) How do I get
CGI and PHP updated into Apache.
I'm using Apache version 2.0.50 on an XP Machine.
I trully appreciate any help I can get,
R. J.