Date: Thu, 24 Jan 2002 21:16:01 -0500 From: "Joe & Fhe Barbish" <barbish@a1poweruser.com> To: <jacks@sage-american.com> Cc: "FBSD Questions" <questions@FreeBSD.ORG> Subject: RE: can Apache_FP run without a real domain web address? Message-ID: <LPBBIGIAAKKEOEJOLEGOAEKOCNAA.barbish@a1poweruser.com> In-Reply-To: <3.0.5.32.20020124182525.01831ca0@mail.sage-american.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Got apache_FP to start. Now I an new to apache so this is what it looks like happened to me. Good thing I started "script" to log all console msgs before I issued the 'make install clean' command. At the end of the install I was asked questions and entered answers. Reading this over I got an idea of what was happening and added to this the msg in the /var/log/httpd.log kind of turned the lights on. My FBSD box did not have a previous apache install. Apache needs to know where he is and uses the hostname=gateway.barbish.com statement from rc.conf to identify where home is. He think this hostname is a real public domain name and tries to do look it up. My firewall allows dns requests out and back in so apache finds that hostname is not a real domain and he stops with the first msg I posted previously. I tried putting www.barbish.com the name I wanted to use for the Apache base server in /usr/local/etc/apache/httpd.conf keyword ServerName. Rebooted got same message. I then added to the /etc/hosts file 10.0.10.2 www.barbish.com where 10.0.10.2 is the private address of my LAN Nic card. Rebooted and this time got past the first msg but got a new msg about not starting FrontPage. Checked out the httpd.log and there was a msg about FrontPage could not find gateway.barbish.com. Changed /etc/hosts entry from www.barbish.com to gateway.barbish.com, rebooted, got msg about not starting FrontPage again, checked httpd.log had msg about mime file not found, so I created it, rebooted and this time it started, or at least I did not get msgs saying it did not start. Did a ps ax and could not see it. How can I tell if it's running? I have users who use win FrontPage 2000 to create web pages and post them to win2000 servers. I want to set up apache_FP to receive one of those FrontPage developed sites for testing. Where can I find documentation on setting up the server for a one page base server and then a second server for fp testing? I am not clear on apache environment. Only one Base server and every thing else are virtual hosts? The httpd.conf comments talk about base server and virtual hosts, that's where I am getting this from. Thanks for your help Joe -----Original Message----- From: jacks@sage-american.com [mailto:jacks@sage-american.com] Sent: Thursday, January 24, 2002 7:25 PM To: Joe & Fhe Barbish Subject: Re: can Apache_FP run without a real domain web address? So, Joe, looks like you can do it with your machine's private IP: http://192.168.0.xx/ or the like Let me know how it works out... I might put on some internal boxes too... At 06:36 PM 1.24.2002 -0500, you wrote: >I installed apache13-fp today from ports. >during first reboot I got this msg. >'could not determine the servers fully qualified domain name, >using 127.0.0.1 for server name. Apache not started.' > >I do not have a real domain name so in hosts file I added the >(www domain com) I told apache to use to the IP address of >my Nic card. Then rebooted and got a new msg. >"local package init: /usr/local/sbin/ apachectl start_FP: >httpd could not be started". > >I don't know if this is still related to the original problem so >I am asking can Apache_FP run without a real public domain web address? > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin =================================================== Sage-American http://www.sage-american.com jacks@sage-american.com "My center is giving way, my right is in retreat; ....situation excellent! ....I shall attack!" =================================================== 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?LPBBIGIAAKKEOEJOLEGOAEKOCNAA.barbish>