I am configuring Apache and Php4 to work and edited the /etc/httpd/httpd.conf when I was doing a tuturial which I shouldn't of done. I am
on a mac os x 10.2.4. I would like a link to a tuturial for getting Apache
and Php4 to work and know that Apache is shipped with mac os x. I did
download this Entropy-PHP-4.3.4-2.dmg which says installs Apache and
Php modules. I was doing the tutorial to get apache going, edited the
/etc/httpd/httpd.conf , restarted apache, then it says.....
Can't connect to server.
Could not open the page “http://127.0.0.1/index.shtml” because Safari couldn’t connect to the server “127.0.0.1”.
What would cause that? I know I did something wrong, and somethings
are not configured. Need help. I know this may seem confusing but any
sort of guidance would be good.
Thanks, MichaelB[/mail_search]
Configuring Apache-was working-now 127.0.0.1 will not open
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
you may have it configured for a different port than 80 (the default http port).. check httpd.conf for something similar to
note: if you installed this new apache in a seperate location from the pre-installed one, you may need to disable the pre-installed one, or switch it's listen port before your new one can work properly.
Code: Select all
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80I turned 1 port off at a time , nada , this is the error log
I do ....tail /var/log/httpd/error_log
and this comes up.
[My so called-Computer:~] shaunmb% tail /var/log/httpd/error_log
[Fri Jun 18 18:44:17 2004] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/favicon.ico
[Fri Jun 18 20:42:30 2004] [error] [client 209.214.143.5] File does not exist: /Library/WebServer/Documents/favicon.ico
[Fri Jun 18 23:17:15 2004] [error] [client 127.0.0.1] script not found or unable to stat: /Library/WebServer/CGI-Executables/test-cgi
[Fri Jun 18 23:42:36 2004] [error] [client 127.0.0.1] script not found or unable to stat: /Library/WebServer/CGI-Executables/test-cgi
[Sat Jun 19 00:55:51 2004] [warn] child process 1383 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:51 2004] [warn] child process 1386 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:51 2004] [warn] child process 1387 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:51 2004] [warn] child process 1388 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:51 2004] [warn] child process 1389 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:55 2004] [notice] caught SIGTERM, shutting down
[My so called-Computer:~] shaunmb%
Am I missing a script. There are 2 places where 2 servers might be.
I know Im missing something.
MichaelB
and this comes up.
[My so called-Computer:~] shaunmb% tail /var/log/httpd/error_log
[Fri Jun 18 18:44:17 2004] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/favicon.ico
[Fri Jun 18 20:42:30 2004] [error] [client 209.214.143.5] File does not exist: /Library/WebServer/Documents/favicon.ico
[Fri Jun 18 23:17:15 2004] [error] [client 127.0.0.1] script not found or unable to stat: /Library/WebServer/CGI-Executables/test-cgi
[Fri Jun 18 23:42:36 2004] [error] [client 127.0.0.1] script not found or unable to stat: /Library/WebServer/CGI-Executables/test-cgi
[Sat Jun 19 00:55:51 2004] [warn] child process 1383 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:51 2004] [warn] child process 1386 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:51 2004] [warn] child process 1387 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:51 2004] [warn] child process 1388 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:51 2004] [warn] child process 1389 still did not exit, sending a SIGTERM
[Sat Jun 19 00:55:55 2004] [notice] caught SIGTERM, shutting down
[My so called-Computer:~] shaunmb%
Am I missing a script. There are 2 places where 2 servers might be.
I know Im missing something.
MichaelB