Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Newbie Question, Appreciate Any Help

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Rewrite rule: is it right ?  
Author Message
faxmebeer23

External


Since: Jul 02, 2004
Posts: 1



(Msg. 1) Posted: Fri Jul 02, 2004 9:30 pm
Post subject: Newbie Question, Appreciate Any Help
Archived from groups: alt>apache>configuration (more info?)

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.

 >> Stay informed about: Newbie Question, Appreciate Any Help 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sat Jul 03, 2004 6:56 am
Post subject: Re: Newbie Question, Appreciate Any Help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

FaxMeBeer <faxmebeer23.DeleteThis@yahoo.com> wrote:
<font color=purple> > direct my browser (Mobious Firefox) to <a style='text-decoration: underline;' href="http://localhost/index.html,</font" target="_blank">http://localhost/index.html,</font</a>>
 > 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

That's a problem of Mobious, not your server.

 > The bigger problems come in with CGI and PHP scripts, which don't work
<font color=purple> > at all. When I try the PHP address, <a style='text-decoration: underline;' href="http://localhost/test.shtml</font" target="_blank">http://localhost/test.shtml</font</a>>

php usually require that the file is called .php, not .shtml,

 > get a 404 Not Found message.

does that file exists in your docroot? check also the error_log
of apache for more usefull error messages.

Davide

--
| Keep Cool, but Don't Freeze
|
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Newbie Question, Appreciate Any Help 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
question from a newbie - I'm a complete PHP virgin i'm afraid, and have as far as i'm aware installed apache and php. i have also downloaded a PHP programming environment called PHP Coder Pro! But on attempting to run any program i am given the message "The current file is...

Newbie Question - I am new to unix and apache so please bon't beat me up, but I am trying to figure out something. How does apache2 know how to load index.html.en as the default document, as opposed to index.html.de - or .fr - or some other file? Trying to learn -..

newbie question - I'd like to create a login page for my website. I already have a list of logins and passwords for individuals that will have access. How do I go about create a file with that information to authenticate logins that apache can use? How do I go about..

Pre-Newbie Question - Hello Thanks for considering this question, and thanks in advance for redirection if this is an inappropriate forum. I'm seriously considering dropping my hosting service in favor of hosting my site on my own through my Red Hat Linux desktop. I have a...

And yet another newbie with a question - I've got Redhat 9 and am trying to configure Apache 2.0, (rpm dist from Redhat). In my /var/www/mckenzie/conf I have a file httpd.conf with the following: User apache Group apache DocumentRoot "/var/www/mckenzie/htdocs" ServerRoot "/var/ww...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]