You still don't need the Directory / stanza, though. And TBH, if you have 
access to the server config, you don't need .htaccess files - see 
http://httpd.apache.org/docs/2.0/howto/htaccess.html

On 24 Mar 2011, at 12:34, Stuart Bird wrote:

> This is now solved - thanks.
> 
> These two commands:
> 
> # sudo chmod -R a+rX /home/stu/www/
> # sudo chmod a+rx /home/stu
> 
> Sorted the issue out.
> 
> The first command sets everything in the "/home/stu/www/" directory to be 
> readable and accessible by all users on the system. The second command sets 
> the home directory to be the same way (though not all the files in it, like 
> with first command). Note that the "X" in the first command is capitalised.
> 
> 
> 
> If you add more directories for additional virtual domains later, run that 
> first command again to make sure the new directories are accessible as well.
> 
> 
> 
> Stu
> 
> 
> 
> 
> From: Mike Whitaker <m...@altrion.org>
> To: Peterborough LUG - No commercial posts <peterboro@mailman.lug.org.uk>
> Sent: Thu, 24 March, 2011 11:49:54
> Subject: Re: [Peterboro] Local ApacheVirtual Host Errors.
> 
> I don't think you need this stanza - at the least, lose the AllowOverride 
> all, so it doesn\t try looking all the way down from / in the filesystem for 
> .htaccess files.
> 
> On 24 Mar 2011, at 11:48, Stuart Bird wrote:
> 
> >    <Directory />
> >        Options FollowSymLinks
> >        AllowOverride All
> >    </Directory>
> 
> 
> _______________________________________________
> Peterboro mailing list
> Peterboro@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/peterboro
> 
> _______________________________________________
> Peterboro mailing list
> Peterboro@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/peterboro


_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to