| From: Jonathan Guthrie | Date Sent: 2007-10-28 22:11:22 |
| Subject: Leopard and virtual hosts | To: Lasso Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Most things are working now, whew :)
My development VH's are loaded via include and they don't seem to be
coming up...
So Apache 2.2, it's the first time I've had to use 2.x so can anyone
care to enlighten the group with some good/dab/ugly aspects of Apache
2.2?
Jono
// ---------------------------------------------------------
/*
Jonathan Guthrie
xServe Ltd, Wellington NZ
jono@[Protected] | http://xserve.co.nz
DDI +64 4 978 7388 | Mob +64 21 678890
*/
// ---------------------------------------------------------
| From: Eric Browning | Date Sent: 2007-10-28 23:02:27 |
| Subject: Re: Leopard and virtual hosts | To: Lasso Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Strip down your virtual host configs to their bare minimums and review
what can/can't be in there. Some of the directives in 1.3.x are
depricated in 2.2 or replaced with newer ones.
http://httpd.apache.org/docs/2.2/vhosts/
--
Eric Browning
On Oct 28, 2007, at 8:11 PM, Jonathan Guthrie wrote:
> Most things are working now, whew :)
>
> My development VH's are loaded via include and they don't seem to be
> coming up...
>
> So Apache 2.2, it's the first time I've had to use 2.x so can anyone
> care to enlighten the group with some good/dab/ugly aspects of
> Apache 2.2?
>
>
> Jono
>
> // ---------------------------------------------------------
> /*
> Jonathan Guthrie
> xServe Ltd, Wellington NZ
> jono@[Protected] | http://xserve.co.nz
> DDI +64 4 978 7388 | Mob +64 21 678890
>
> */
> // ---------------------------------------------------------
| From: Da'oud Rashid | Date Sent: 2007-10-28 23:08:55 |
| Subject: Re: Leopard and virtual hosts | To: Lasso Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Hi Jonathan,
I've just finished setting up one virtual host with Apache 2.x on
Leopard (MacBook Pro).
Some gotchas that I experienced:
1) Ensure that "Include /private/etc/apache2/extra/httpd-vhosts.conf"
is uncommented in apache2's httpd.conf file.
2) Keep in mind that the format for name-based virtual hosts in
Apache 2.2 is slightly different (and easier, actually) to set up.
Running apachectl configtest helped to sort out differences between
what Apache 1.x and 2.2 find acceptable <VirtualHost> directives.
3) Finally, I needed to ensure that there was a <Directory "/my/
virtualhosts/path"> directive to allow access to the virtual host's
site files. WIthout that, I got permission denied when I tried to load
the virtual host in a web browser.
It's been a while since I played with Apache's 1.x's httpd.conf file,
so it's quite possible that you've already done all the above.
I've done a little bit of testing so far (I literally just got it
working) and Lasso 8.5.4 seems to be running fine (specifically, I've
had no issues with file manipulation, ssl, mysql access, image
manipulation). All up, it didn't take much effort to get it working.
I hope this helps.
Kind regards,
Da'oud
Ps. BTW, I'm half-Kiwi and a University of Otago Info Sci graduate and
former teaching fellow.
On Oct 29, 2007, at 2:11 AM, Jonathan Guthrie wrote:
> Most things are working now, whew :)
>
> My development VH's are loaded via include and they don't seem to be
> coming up...
>
> So Apache 2.2, it's the first time I've had to use 2.x so can anyone
> care to enlighten the group with some good/dab/ugly aspects of
> Apache 2.2?
>
>
> Jono
>
> // ---------------------------------------------------------
> /*
> Jonathan Guthrie
> xServe Ltd, Wellington NZ
> jono@[Protected] | http://xserve.co.nz
> DDI +64 4 978 7388 | Mob +64 21 678890
>
> */
> // ---------------------------------------------------------
| From: Jonathan Guthrie | Date Sent: 2007-10-28 23:35:03 |
| Subject: Re: Leopard and virtual hosts | To: Lasso Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Thanks Da'oud - that was the bit I was missing!
Where are you based now? Still in Dunedin?
On 29/10/2007, at 4:08 PM, Da'oud Rashid wrote:
> 3) Finally, I needed to ensure that there was a <Directory "/my/
> virtualhosts/path"> directive to allow access to the virtual host's
> site files. WIthout that, I got permission denied when I tried to
> load the virtual host in a web browser.
> Da'oud
>
> Ps. BTW, I'm half-Kiwi and a University of Otago Info Sci graduate
> and former teaching fellow.
Jono
// ---------------------------------------------------------
/*
Jonathan Guthrie
xServe Ltd, Wellington NZ
jono@[Protected] | http://xserve.co.nz
DDI +64 4 978 7388 | Mob +64 21 678890
*/
// ---------------------------------------------------------
| From: Da'oud Rashid | Date Sent: 2007-10-29 11:35:06 |
| Subject: Re: Leopard and virtual hosts | To: Lasso Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
No worries, Jonathan. Glad I could be of help!
I'm living in London now. I left Dunedin in '99, but managed to spend
a couple of days there last year.
All the best,
Da'oud
On Oct 29, 2007, at 3:35 AM, Jonathan Guthrie wrote:
> Thanks Da'oud - that was the bit I was missing!
>
> Where are you based now? Still in Dunedin?
>
>
> On 29/10/2007, at 4:08 PM, Da'oud Rashid wrote:
>
>> 3) Finally, I needed to ensure that there was a <Directory "/my/
>> virtualhosts/path"> directive to allow access to the virtual host's
>> site files. WIthout that, I got permission denied when I tried to
>> load the virtual host in a web browser.
>> Da'oud
>>
>> Ps. BTW, I'm half-Kiwi and a University of Otago Info Sci graduate
>> and former teaching fellow.
>
>
> Jono
>
> // ---------------------------------------------------------
> /*
> Jonathan Guthrie
> xServe Ltd, Wellington NZ
> jono@[Protected] | http://xserve.co.nz
> DDI +64 4 978 7388 | Mob +64 21 678890
>
> */
> // ---------------------------------------------------------