Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 23084 invoked from network); 3 Sep 2007 20:19:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2007 20:19:03 -0000 Received: (qmail 23996 invoked by uid 500); 3 Sep 2007 20:18:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 23986 invoked by uid 500); 3 Sep 2007 20:18:47 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 23974 invoked by uid 99); 3 Sep 2007 20:18:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 13:18:47 -0700 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of malcolm@mewalker.co.uk does not designate 217.154.246.189 as permitted sender) Received: from [217.154.246.189] (HELO lon-gs4dmrelay.mistral.net) (217.154.246.189) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 20:19:55 +0000 Received: from [212.32.74.219] (helo=[192.168.0.17]) by lon-gs4dmrelay.mistral.net with esmtp (Exim 4.51) id 1ISIG4-0002LL-J6 for users@httpd.apache.org; Mon, 03 Sep 2007 21:10:52 +0100 Message-ID: <46DC6C0C.5010500@mewalker.co.uk> Date: Mon, 03 Sep 2007 21:18:20 +0100 From: Malcolm Walker Reply-To: malcolm@mewalker.co.uk Organization: Chartered Civil Engineer User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: users@httpd.apache.org References: <46D83261.7000202@mewalker.co.uk> <813716b60708311004i60ad7e55yc706ee13708e7dd4@mail.gmail.com> <46D899FD.1090709@mewalker.co.uk> <813716b60709010808n60de6043p65b317b725517a99@mail.gmail.com> In-Reply-To: <813716b60709010808n60de6043p65b317b725517a99@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Apache 2.2.4 [an error occurred while processing this directive] Vincent Bray wrote: > On 01/09/07, Malcolm Walker wrote: > >> Yes you are correct and I am very grateful for your reply but I find I >> am out of my depth. I had read (several times both before my post and >> after your reply) the article on configuring Virtual Hosts and I remain >> unaware of how to amend the file at conf/extra/httpd-vhosts.conf to suit >> local access only. As to the > cannot determine which of the directives to use. >> >> My sole aim was in using Apache for testing to add the display of >> includes. As I have been struggling with a problem that I never >> expected for over a week it's time I gave it a rest. >> >> My general comment on all the Apache help articles both on-line and in >> the manual is that they clearly state what to do but not how to do it. >> There is a presumption of knowledge that I do not have. I bought my >> first computer at the age of 62 on the basis I would catch up - >> eventually. Thirteen years later it seems I am even further behind than >> I was then! >> > Please forgive the jibe, but it's perhaps suitable that you're trying > to configure server side includes.. A technology nearly as old as > yourself :-) > Your jibe is forgiven. {8;-)) But just because the technology is old doesn't mean it isn't any use. I assume there are `better' and newer ways of achieving the same object. Perhaps PHP is more appropriate? > Explaining how vhosts work is a time consuming process, and I think > the docs would do a better job, so instead, let's try a direct answer. > Stick this at the bottom of your httpd.conf and see what happens. > > NameVirtualHost *:80 > > > ServerName localhost > DocumentRoot F:/webs/mcjdreamweaver > > Options Includes Indexes > Order allow,deny > Allow from all > AddOutputFilter INCLUDES;DEFLATE shtml > > > I did `stick' the lines you kindly provided into the httpd.conf file and the mcjdreamweaver site is displayed in my browsers with the URL: http://localhost. So thank you for that step forward. > For bonus points, you could edit your hosts file (windows hides it > somewhere like c:\windows\system32\drivers\etc\hosts) so you've got a > proper name to use rather than localhost, then repeat that name in > ServerName. By edit do you mean delete 127.0.0.1 localhost and add (say) 127.0.0.1 mcjlocalhost? > Good luck! > I need more than good luck - nourishment not punishment! And thank you for your assistance. Malcolm --------------------------------------------------------------------- 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 " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org