1 |
On Friday 08 June 2012 22:01:08 Paul Hartman wrote: |
2 |
> On Fri, Jun 8, 2012 at 1:21 PM, Peter Humphrey |
3 |
<peter@××××××××××××××.org> wrote: |
4 |
> > $ cat .htaccess |
5 |
> > RewriteEngine on |
6 |
> > |
7 |
> > RewriteCond %{HTTP_REFERER} !^http://tideswellmvc.co.uk/.*$ |
8 |
> > [NC] RewriteCond %{HTTP_REFERER} !^http://tideswellmvc.co.uk$ |
9 |
> > [NC] RewriteCond %{HTTP_REFERER} |
10 |
> > !^http://www.tideswellmvc.co.uk/.*$ [NC] |
11 |
> > RewriteCond %{HTTP_REFERER} !^http://www.tideswellmvc.co.uk$ |
12 |
> > [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] |
13 |
> > |
14 |
> > Options +Includes |
15 |
> |
16 |
> I suspect this particular error ("Options not allowed here") is |
17 |
> because this .htaccess is running in a user home directory, and |
18 |
> Options +Includes can't be set by a user. You may need to declare |
19 |
> that in your apache httpd.conf "Directory" section for that path, |
20 |
> rather than in the .htaccess file. |
21 |
|
22 |
Hmm. Sounds plausible. Maybe I'll have to put it back into /var/www/... |
23 |
and try to work out why I can't see images there. |
24 |
|
25 |
Thanks for your help Paul. |
26 |
|
27 |
-- |
28 |
Rgds |
29 |
Peter |