From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QqkFd-0001zx-7k for garchives@archives.gentoo.org; Tue, 09 Aug 2011 11:13:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B3ED21C259; Tue, 9 Aug 2011 11:13:24 +0000 (UTC) Received: from mail.ukfsn.org (unknown [77.75.108.3]) by pigeon.gentoo.org (Postfix) with ESMTP id 224E321C252 for ; Tue, 9 Aug 2011 11:12:19 +0000 (UTC) Received: from localhost (smtp-filter.ukfsn.org [192.168.54.205]) by mail.ukfsn.org (Postfix) with ESMTP id 173C7DECD3 for ; Tue, 9 Aug 2011 12:12:19 +0100 (BST) Received: from mail.ukfsn.org ([192.168.54.25]) by localhost (smtp-filter.ukfsn.org [192.168.54.205]) (amavisd-new, port 10024) with ESMTP id VJV1FXcaLeQr for ; Tue, 9 Aug 2011 12:14:25 +0100 (BST) Received: from wstn.localnet (unknown [78.32.181.186]) by mail.ukfsn.org (Postfix) with ESMTP id D2E7DDED46 for ; Tue, 9 Aug 2011 12:12:18 +0100 (BST) From: Peter Humphrey Organization: at home To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] How to set Apache up to serve SSIs? Date: Tue, 9 Aug 2011 12:12:17 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.39-gentoo-r3; KDE/4.6.3; x86_64; ; ) References: <201108071740.07426.peter@humphrey.ukfsn.org> <201108082028.14753.peter@humphrey.ukfsn.org> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201108091212.18175.peter@humphrey.ukfsn.org> X-Archives-Salt: X-Archives-Hash: 23c4c2e6ec34249d0c561591f14005c6 On Tuesday 09 August 2011 01:31:25 Adam Carter wrote: > > Looks like that isn't my problem then. I have another head-scratching > > opportunity... > > Quick idea without proper investigation - building the modules is a > different thing to actually loading them - they can be built but not > loaded by the config, so obviously they wont work if that's what's > happened. Well, I do have this: # cat /var/www/localhost/htdocs/.htaccess RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://tideswellmvc.co.uk/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://tideswellmvc.co.uk$ [NC] RewriteCond %{HTTP_REFERER} !^http://tmvc.myzen.co.uk/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://tmvc.myzen.co.uk$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.tideswellmvc.co.uk/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.tideswellmvc.co.uk$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.tmvc.myzen.co.uk/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.tmvc.myzen.co.uk$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] Options +Includes I added that last line; I don't know where the rest came from, unless from the production server at Zen Internet. Removing them all allows me to see the images in the pages, which were provoking permission errors before, but apache still doesn't process the SSI. The alternative place for the Options line is in /etc/apache/, but which? I don't have virtual hosting set up: this is purely a development environment for the remote production server. What ownership permissions should the files under ..../htdocs have? As far as I can see this is typical of them all at present: -rw-r--r-- 1 prh apache 8.4K Aug 8 17:36 index.shtml drwxr-xr-x 6 prh apache 4.0K Aug 7 17:24 pages # groups prh adm lp wheel floppy cdrom cdrw usb users portage plugdev apache prh -- Rgds Peter Linux Counter 5290, 1994-04-23