On Friday 08 June 2012 22:01:08 Paul Hartman wrote:
> On Fri, Jun 8, 2012 at 1:21 PM, Peter Humphrey 
<pe...@humphrey.ukfsn.org> wrote:
> > $ cat .htaccess
> > RewriteEngine on
> > 
> > RewriteCond %{HTTP_REFERER} !^http://tideswellmvc.co.uk/.*$    
> >  [NC] RewriteCond %{HTTP_REFERER} !^http://tideswellmvc.co.uk$    
> >  [NC] RewriteCond %{HTTP_REFERER}
> > !^http://www.tideswellmvc.co.uk/.*$ [NC]
> > RewriteCond %{HTTP_REFERER} !^http://www.tideswellmvc.co.uk$    
> >  [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
> > 
> > Options +Includes
> 
> I suspect this particular error ("Options not allowed here") is
> because this .htaccess is running in a user home directory, and
> Options +Includes can't be set by a user. You may need to declare
> that in your apache httpd.conf "Directory" section for that path,
> rather than in the .htaccess file.

Hmm. Sounds plausible. Maybe I'll have to put it back into /var/www/... 
and try to work out why I can't see images there.

Thanks for your help Paul.

-- 
Rgds
Peter

Reply via email to