On Tuesday 26 June 2012 09:07:14 Michael Orlitzky wrote: > On 06/25/2012 07:36 PM, Peter Humphrey wrote: > > I think (hope) I've found it: > > http://en.gentoo-wiki.com/wiki/Apache2/Virtual_Hosts > > makes it clear that a subdomain's definition must /precede/ the > > domain's definition. I was doing it the other way around, it > > seeming obviously logical to me: define the whole first, then > > refine the parts. I didn't even consider the alternative. On the > > other hand this is vhost definition; is the reasoning the same? > > It is extraordinarily late here, but I don't think that remedy #2 > makes sense.
Nor to me. ---->8 > The fact that one hostname may be a subdomain of another should be > irrelevant, but ask me again in the morning... In any case, your > current configuration has to be pretty close to working -- you just > need to figure out why "Options Includes" isn't kicking in. In the figuring-out process I'm revisiting the whole idea from the beginning. I've removed PHP, MySQL and Apache from the server box, removed the /var/www tree then reinstalled. I haven't yet started reconfiguration; I want to be sure I know what I'm doing first. (Fat chance of that!) One decision that will have consequences is where in /var/www to put mysite. Should it be in /var/www/mysite/htdocs, in /var/www/localhost/mysite or in /var/www/localhost/htdocs/mysite? What I've read so far suggests that it doesn't matter, but I'm damn sure if I put it in the wrong place I'll suffer for it. And what ownership should mysite's files have? My user is in the apache group on the server. Many thanks for your help. -- Rgds Peter