Date: Mon, 16 Apr 2001 03:03:47 -0500 From: "Kane Tao" <khtao@netforge.net> To: <Questions@FreeBSD.ORG> Subject: Re: Apache Message-ID: <012301c0c64b$d7676be0$7e93e4ce@netforge.net> References: <20010415174744.43227.qmail@web13104.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Does browsing a specific document work? Like http://www.lan.trini/index.html Assuming you have that document of course and the priviledges on the file are set correctly... - Kane ----- Original Message ----- From: "trini 0" <gms08701@yahoo.com> To: <Questions@FreeBSD.ORG> Cc: <trini0@optonline.net> Sent: Sunday, April 15, 2001 12:47 PM Subject: Apache > 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 > 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?012301c0c64b$d7676be0$7e93e4ce>