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/<somefile>, 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

Reply via email to