Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 4794 invoked by uid 500); 7 Feb 2002 12:42:49 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 4781 invoked from network); 7 Feb 2002 12:42:49 -0000 Received: from bull.bourse.ch (HELO bull1.bourse.ch) (194.158.1.1) by daedalus.apache.org with SMTP; 7 Feb 2002 12:42:49 -0000 Received: (from nobody@localhost) by bull1.bourse.ch (8.8.8+Sun/8.8.8) id NAA29033 for ; Thu, 7 Feb 2002 13:42:47 +0100 (MET) X-Authentication-Warning: bull1.bourse.ch: nobody set sender to using -f Received: from trifid2(172.20.196.132) by bull1 via smap (V2.1) id xma028916; Thu, 7 Feb 02 13:42:38 +0100 Received: from regulus.bourse.ch (regulus [172.20.196.148]) by trifid2.bourse.ch (8.8.8+Sun/8.8.8) with ESMTP id NAA16974 for ; Thu, 7 Feb 2002 13:42:37 +0100 (MET) Received: from bourse.ch (localhost [127.0.0.1]) by regulus.bourse.ch (8.9.3+Sun/8.9.3) with ESMTP id NAA04563 for ; Thu, 7 Feb 2002 13:42:37 +0100 (MET) Sender: obo@bourse.ch Message-ID: <3C62763C.4B930941@bourse.ch> Date: Thu, 07 Feb 2002 13:42:36 +0100 From: Owen Boyle X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: users@httpd.apache.org Subject: Re: Please help a newbie References: <003b01c1afd0$28115f10$0cd4fbc3@greg> <3C626FD7.3ED20DEC@bourse.ch> <000801c1afd3$05916720$0cd4fbc3@greg> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Greg Liapis wrote: > > Thanks a lot for your response Owen. But the same thing happened when I > installed Apache in a computer which was connected to the network of my > University(with a static IP) and tried to access it from my home. Do I have > to change anything in the configuration files (ServerName or something like > that?). If we assume you have an unrestricted connection (did you check in the TransferLog and snoop the network interface?) then, indeed, ServerName could be the problem. Apache uses ServerName to make self-referential URLs - that is, when you type in the browser: http://ip-addr/banana, if apache can't find a file called "banana" in your documentroot, it replies with a redirect to http:///banana/ - i.e., it adds a trailing slash. The best situation is to have a proper DNS domain-name and use this for ServerName and requests. But if you don't have one, set ServerName to the IP-address. Also, try the browser requests with and without trailing slashes and try accessing files you know exist, e.g. http://ip-addr/foo/bar.html <-- that should always work. But I do advise you to look in the access_log and error_log when you are hitting the server and see what it is doing. rgds, Owen Boyle. > I am really surprised that you know the greek word for money. Have you > visited my country? Vevia, poli fores! Ego eimai Skotzezos kai m'arezi poli Elladha. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org