| Author |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 07 Oct '09 20:59 Post subject: |
|
|
| yes sir |
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Tue 13 Oct '09 17:55 Post subject: More, newer, better problems |
|
|
So I did exactly as told to install Apache as per instructions on page:
http://www.apachelounge.com/viewtopic.php?t=2394
When I try to email (to myself) and echo my info, I get a copy of the source code and this in the error log as the very last entry:
[Tue Oct 13 09:38:05 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Tue Oct 13 09:38:08 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
I also get this repeatedly:
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.2 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.2 for ServerName
[Tue Oct 13 08:07:43 2009] [notice] Child 1088: Child process is running
[Tue Oct 13 08:07:43 2009] [notice] Child 1088: Acquired the start mutex.
[Tue Oct 13 08:07:43 2009] [notice] Child 1088: Starting 64 worker threads.
[Tue Oct 13 08:07:43 2009] [notice] Child 1088: Starting thread to listen on port 80. |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7445 Location: EU, Germany, Next to Hamburg
|
Posted: Wed 14 Oct '09 13:12 Post subject: |
|
|
The missiong favicon.ico is nothing to worry about. That is just the little icon that you can see in the adressbar like on apachelounge.
For the server name you can add this to your httpd.conf
| Code: |
ServerName yourdoaminname.tld
|
or just
| Code: |
ServerName localhost
|
Everything else looks fine |
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Wed 14 Oct '09 19:02 Post subject: |
|
|
Dear James,
My httpd file has this commented out:
#ServerName localhost:80
Should I use "localhost" or "localhost:80"
Roger |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7445 Location: EU, Germany, Next to Hamburg
|
Posted: Thu 15 Oct '09 11:46 Post subject: |
|
|
| if you don't use ssl you can use localhost:80 |
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Thu 15 Oct '09 16:39 Post subject: What does ssl mean? |
|
|
What does "ssl" mean?
Roger |
|
| Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Fri 16 Oct '09 21:59 Post subject: |
|
|
Well, although I believe that the manual is my friend, in this case it did not help much. It told me what an SSL is, and I found it to be very cool and perhaps useful in the future, what I really need is to know whether I have it in my system and what to do about it.
I did search httpd for SSL, and all references to it seemed to be commented out. So I will act accordingly.
 |
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Fri 16 Oct '09 22:13 Post subject: favicon.ico, I think |
|
|
I still get the source code rather than any html display.
The error log shows:
[Fri Oct 16 14:05:21 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Fri Oct 16 14:05:23 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
I suspect that I do not have a vital file called favicon.ico
Help, please. |
|
| Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sat 17 Oct '09 5:10 Post subject: |
|
|
Looking back
PHP is located in c:\php5 or c:\php, you state one and show a different in your path.
You have added
LoadModule php5/module c:/correct-one/php5apache2_2.dll?
You have added
AddType application/x-httpd-php .php .php5
or similar? |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7445 Location: EU, Germany, Next to Hamburg
|
Posted: Mon 19 Oct '09 12:19 Post subject: Re: favicon.ico, I think |
|
|
| Roger Bird wrote: | I still get the source code rather than any html display.
The error log shows:
[Fri Oct 16 14:05:21 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Fri Oct 16 14:05:23 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
I suspect that I do not have a vital file called favicon.ico
Help, please. |
Th favicon.ico is NOT needed. See here what it is |
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Thu 22 Oct '09 17:42 Post subject: No browser display |
|
|
So, I believe you about the favicon, but I still get no browser display and only source code and the error.log is only:
[Thu Oct 22 09:38:27 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Thu Oct 22 09:38:30 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
I guess that whatever is not turning the source code into browser display has nothing to do with the favicon business. But what does it have to do with.
Roger |
|
| Back to top |
|
bentogoa

Joined: 09 Feb 2007 Posts: 66 Location: GOA
|
Posted: Thu 22 Oct '09 20:44 Post subject: Re: More, newer, better problems |
|
|
| Roger Bird wrote: |
When I try to email (to myself) and echo my info |
Apache server is a web server not SMTP server, you need to use an SMTP server of fake sendmail to send mails.
See PHP mail (google it) |
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Thu 22 Oct '09 20:57 Post subject: So |
|
|
| I commented out everything to do with mailing and it still shows my source code rather than the browser processed display. |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7445 Location: EU, Germany, Next to Hamburg
|
Posted: Fri 23 Oct '09 9:20 Post subject: |
|
|
Now I get it. You see the PHP source code!
See Basic PHP Troubleshooting
if you still have a question please ask again. |
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Thu 29 Oct '09 17:17 Post subject: Text Editor |
|
|
I am going back through all of the replies in this thread and making sure that I understand everything and I did everything suggested. In the meantime, I would like a recommendation about a text editor. I am using Notepad, and frankly, it has problems with extensions. I am, of course, looking for something free. What do you recommend?
Roger, very lucky Daddy. |
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Thu 29 Oct '09 17:19 Post subject: windows event viewer |
|
|
I found the "windows event viewer" but I could not see how it would help me. Please explain.
Roger |
|
| Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7445 Location: EU, Germany, Next to Hamburg
|
Posted: Thu 29 Oct '09 17:27 Post subject: |
|
|
Editor for PHP or httpd.conf?
Free and good is Notepad++.
In the Windows Event Viewer there is Application and System. There you can look for errors that are caused by apache (httpd.exe). That might help when there is an application error.
Lucky Daddy? You became father of a apache or a real child?
Last edited by James Blond on Thu 29 Oct '09 17:45; edited 1 time in total |
|
| Back to top |
|
Roger Bird

Joined: 30 Sep 2009 Posts: 20 Location: Colorado Springs
|
Posted: Thu 29 Oct '09 17:33 Post subject: Lucky Daddy |
|
|
My little boy is 10 years old, but I still marvel at his wonderfulness. [For all of you young or non fathers, the previous sentence is a self-fulfilling prophesy. For you old fathers, it is probably too late.] Sometimes I just can't contain my joy over his dearness and preciousness, and I emote forth with silly things like "Lucky Daddy".
He does look like an Apache, but he is 1/2 honky and 1/2 Filipino. And he did 40 kip-ups in a row without a single mistake.
Roger, Lucky Daddy
P.S. But this has absolutely nothing to do with website development. |
|
| Back to top |
|