Results 1 to 10 of 17
hi,
i used the red hat apache config tool to try and get the server set up, i can i get the "your apache web server has been set up ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-07-2004 #1Just Joined!
- Join Date
- Nov 2004
- Posts
- 36
Apache Server (Should Be Something Simple)
hi,
i used the red hat apache config tool to try and get the server set up, i can i get the "your apache web server has been set up correctly... page" i can type /index.htm onto the address and get it and if i put it into the "error" folder and rename it to noindex.html it works fine, but when i try to access it from another computer (using the ip address), it says page cannot be found.
i have tried disabling my firewall but to no avail. was there some packages or options i had to install or select when i installed the o/s.
thx
- 12-07-2004 #2Linux Newbie
- Join Date
- Apr 2004
- Posts
- 158
Hi,
try doing a
orCode:netstat -a |grep http
Code:netstat -a |grep www
and post the output. This is to check to see if your webserver is listening on outbound interfaces.
//jonas--
in Linux Computing we Trust
- 12-07-2004 #3Just Joined!
- Join Date
- Nov 2004
- Posts
- 36
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:https *:* LISTEN
tcp 0 0 192.168.0.96:40037 images.linuxquesti:http TIME_WAIT
tcp 0 0 192.168.0.96:40052 images.linuxquesti:http TIME_WAIT
tcp 0 0 192.168.0.96:39945 64.233.171.147:http ESTABLISHED
tcp 0 0 192.168.0.96:40045 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40047 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40035 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40039 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40060 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40061 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40063 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40049 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40055 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40072 123.67-19-135.reve:http TIME_WAIT
tcp 0 0 192.168.0.96:40064 123.67-19-135.reve:http TIME_WAIT
tcp 1 0 192.168.0.96:40065 123.67-19-135.reve:http CLOSE_WAIT
tcp 0 0 192.168.0.96:40070 123.67-19-135.reve:http TIME_WAIT
- 12-07-2004 #4Linux Newbie
- Join Date
- Apr 2004
- Posts
- 158
Hi,
Hmmm, it looks like it is up and running as it should be...
can you surf to 192.168.0.96 or just 127.0.0.1?
To what address are you trying to connect to externally?
(cause there is already an established session = someone has connected to it)
Does the /var/log/httpd/error_log say anything?tcp 0 0 192.168.0.96:39945 64.233.171.147:http ESTABLISHED
Cheers
Jonas--
in Linux Computing we Trust
- 12-07-2004 #5Just Joined!
- Join Date
- Nov 2004
- Posts
- 36
yes that other ip works aswell
the outside ip i am trying to use is 192.231.203.132
the error log has a quite a few lines(most of them are from when i was renamin some stuff, it got reaname back though) here are a couple of lines:
[Tue Dec 07 19:39:40 2004] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Tue Dec 07 19:20:30 2004] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /var/www/error/noindex.html
and
[Tue Dec 07 19:18:44 2004] [warn] child process 17979 still did not exit, sending a SIGTERM
[Tue Dec 07 19:18:44 2004] [warn] child process 17980 still did not exit, sending a SIGTERM
[Tue Dec 07 19:18:44 2004] [notice] caught SIGTERM, shutting down
[Tue Dec 07 19:18:46 2004] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 07 19:18:46 2004] [notice] Digest: done
there are other lines if u want i can post more, but they are pretty much the same
- 12-07-2004 #6Linux Newbie
- Join Date
- Apr 2004
- Posts
- 158
Hi,
Can you post these two commands
andCode:iptables -L
//jonasCode:ifconfig -a
--
in Linux Computing we Trust
- 12-07-2004 #7Just Joined!
- Join Date
- Nov 2004
- Posts
- 36
for both i got command not found
- 12-07-2004 #8Linux Newbie
- Join Date
- Apr 2004
- Posts
- 158
Sorry, my bad!
The "iptables" command needs to be run as rootCode:/sbin/ifconfig -a
1. su -
2. run command
//jonasCode:iptables -L
--
in Linux Computing we Trust
- 12-07-2004 #9Just Joined!
- Join Date
- Nov 2004
- Posts
- 36
eth0 Link encap:Ethernet HWaddr 00:02:E3:09:B6:F5
inet addr:192.168.0.96 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:57119 errors:0 dropped:0 overruns:0 frame:0
TX packets:65990 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:27665166 (26.3 Mb) TX bytes:8254493 (7.8 Mb)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:190339 errors:0 dropped:0 overruns:0 frame:0
TX packets:190339 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13266364 (12.6 Mb) TX bytes:13266364 (12.6 Mb)
first ti did not work so i put sbin in front of it..
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
- 12-07-2004 #10Linux Newbie
- Join Date
- Apr 2004
- Posts
- 158
Hi,
If that was the full output I think I know the answer.
You haven't got any interface configured for the "192.231.203.132" address.
So either you need to configure it or maybe you have but it isn't working as you expect.
//jonas--
in Linux Computing we Trust


Reply With Quote
