Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2001 10:47:44 -0700 (PDT)
From:      trini 0 <gms08701@yahoo.com>
To:        Questions@freebsd.org
Cc:        trini0@optonline.net
Subject:   Apache
Message-ID:  <20010415174744.43227.qmail@web13104.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hey all.  Im trying to get apache to work just for my
lan.  It 
installed 
no problems, I made a config file and it started up
with no problems,
when I try to browse to www.lan.trini from another box
(I dont have any
browser on the box with apache installed), I get a 404
error.  DNS
entries seem to be working.  I tried pinging, nslookup
and dig from the
browser box to see if DNS is up and configured right,
and all seems
well.  DocumentRoot points to where the *.html files
live.  Im stumped.
I installed apache 1.3.19 from ports, and the box is
running 4.3RC.
What could be wrong??
Thanks all
trini0
PS Dont reply to this address, as Im not subscribed.


httpd running
  217  ??  Ss     0:00.05 /usr/local/sbin/httpd
  221  ??  I      0:00.01 /usr/local/sbin/httpd
  222  ??  I      0:00.01 /usr/local/sbin/httpd
  223  ??  I      0:00.01 /usr/local/sbin/httpd
  224  ??  I      0:00.01 /usr/local/sbin/httpd
  225  ??  I      0:00.01 /usr/local/sbin/httpd
  247  ??  I      0:00.01 /usr/local/sbin/httpd


httpd.conf
#### Section 1: Global Environment

MinSpareServers 		5
MaxSpareServers			10
StartServers			5
MaxClients			25
MaxRequestsPerChild		10000

Listen 192.168.0.2:80

#### Section 2: 'Main' server configuration

ServerAdmin			webmaster@lan.trini
ServerName			www.lan.trini
DocumentRoot			"/usr/local/www/html/apache"

<Directory "/usr/local/www/html/apache">
Options FollowSymLinks
	AllowOverride None
</Directory>


dig www.lan.trini
; <<>> DiG 8.3 <<>> www.lan.trini ;; res options: init
recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY:
1, ADDITIONAL: 1
;; QUERY SECTION:
;;	www.lan.trini, type = A, class = IN

;; ANSWER SECTION:
www.lan.trini.		1D IN CNAME	hivemind.lan.trini.
hivemind.lan.trini.	1D IN A		192.168.0.2

;; AUTHORITY SECTION:
lan.trini.		1D IN NS	hivemind.lan.trini.

;; ADDITIONAL SECTION:
hivemind.lan.trini.	1D IN A		192.168.0.2

;; Total query time: 1 msec
;; FROM: gladiator.lan.trini to SERVER: default --
192.168.0.2
;; WHEN: Sun Apr 15 12:54:43 2001
;; MSG SIZE  sent: 31  rcvd: 100


ping www.lan.trini
PING hivemind.lan.trini (192.168.0.2): 56 data bytes
64 bytes from 192.168.0.2: icmp_seq=0 ttl=255
time=0.169 ms
64 bytes from 192.168.0.2: icmp_seq=1 ttl=255
time=0.212 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=255
time=0.367 ms

--- hivemind.lan.trini ping statistics ---
3 packets transmitted, 3 packets received, 0% packet
loss
round-trip min/avg/max/stddev =
0.169/0.249/0.367/0.085 ms









__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010415174744.43227.qmail>