rewriterule help?
shimi
linux-il at shimi.net
Fri Apr 22 13:47:05 IDT 2011
On Fri, Apr 22, 2011 at 1:25 PM, Hetz Ben Hamo <hetzbh at gmail.com> wrote:
>
>
>> Not that I understand what's wrong with a one-line VHost for the old
>> hostname. From some reason I take this type of configuration cleaner and
>> easier to debug later (and could also very be more efficient
>> performance-wise. or not. :))
>>
>>
> vhost one line? 2 lines for <VirtualHost> and </VirtualHost>, 1 line for
> ServerName, 1 line for DocumentRoot, so you'll need 4 at the minimum :)
>
>
One line = one line of configuration on "what to do with this vhost", not
the elementary parts ;)
Oh and... technically... had you chosen to provide with a different IP for
every vhost, it could be 3 in total.
Why you need a DocumentRoot in a vhost serving no content, is a good
question.
> Anyway, thanks for the heads-up regarding the redirect. Seems to be working
> now.
>
>
You're welcome :)
Thanks,
> Hetz
>
-- Shimi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20110422/f0392a28/attachment-0001.html>
More information about the Linux-il
mailing list