From owner-freebsd-questions Tue Jan 29 8:17:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from phoenix.welearn.com.au (phoenix.welearn.com.au [139.130.44.81]) by hub.freebsd.org (Postfix) with ESMTP id B5A9537B404 for ; Tue, 29 Jan 2002 08:17:50 -0800 (PST) Received: (from sue2@localhost) by phoenix.welearn.com.au (8.11.6/8.11.6) id g0TGHbA13373; Wed, 30 Jan 2002 03:17:37 +1100 (EST) (envelope-from sue2) Date: Wed, 30 Jan 2002 03:17:37 +1100 From: Sue Blake To: jacks@sage-american.com Cc: FBSD Questions Subject: Re: Apache subdir httpd.conf example Message-ID: <20020130031736.A2812@phoenix.welearn.com.au> Mail-Followup-To: Sue Blake , jacks@sage-american.com, FBSD Questions References: <3.0.5.32.20020128184020.01831ca0@mail.sage-american.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3.0.5.32.20020128184020.01831ca0@mail.sage-american.com>; from jacks@sage-american.com on Mon, Jan 28, 2002 at 06:40:20PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jan 28, 2002 at 06:40:20PM -0600, jacks@sage-american.com wrote: > Rats! The second part of my answer had an error: > For /dirname: > http://www.domain.com/dirname/ > place a subdirectory: > /usr/local/www/data/dirname/index.html [typos deleted] > Now try: http://www.domain.com/dirname/ OK, gotcha meaning now. I'm sure you mean index.html is a text file with HTML codes and text in it, within that directory. So what happens when you try that? What does your browser show? We need at least an error message or description before we have a problem to solve. What is reported in your apache error log after that failure? That is where apache tries to give you all the answers itself. Don't mess with your config too much until you take its advice. Have you checked the permissions on the subdirectory and its files? You do have an index.html file with some content in there, don't you? Is apache actually running at the time? If not, you could try running the script which is going to run at next system startup: # /usr/local/etc/rc.d/apache.sh start (your path and filename might be slightly different) Then try it again with the web browser. -- Regards, -*Sue*- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message