On 28-Feb-10 03:13, Nilesh Govindarajan wrote:
On Sun, Feb 28, 2010 at 1:01 AM, LuKreme wrote:
On 27-Feb-2010, at 10:17, Nilesh Govindarajan wrote:
What if I want all IPs ?
What I posted will do what you want. Request to www.example.com will go to
the example.com dir, www.example.net will go
On Sun, Feb 28, 2010 at 5:13 AM, Nilesh Govindarajan wrote:
> You posted which will work for a single IP i.e. 12.34.56.789
>
> But what if I have three or four IP addresses on the same Apache server ?
>
> Your config will handle only that particular IP.
>
> I think a solution is ServerAlias ?
No
On Sun, Feb 28, 2010 at 1:01 AM, LuKreme wrote:
> On 27-Feb-2010, at 10:17, Nilesh Govindarajan wrote:
> >
> > What if I want all IPs ?
>
> Your not understanding the function of the first VirtualHost. It is special
> as it is the default for anything that doesn't match another VirtualHost.
>
> W
On 27-Feb-2010, at 10:17, Nilesh Govindarajan wrote:
>
> What if I want all IPs ?
Your not understanding the function of the first VirtualHost. It is special as
it is the default for anything that doesn't match another VirtualHost.
What I posted will do what you want. Request to www.example.com
On Sat, Feb 27, 2010 at 9:31 PM, LuKreme wrote:
> On 27-Feb-2010, at 04:20, Nilesh Govindarajan wrote:
> >
> > This configuration has to be placed after all good vhosts; Otherwise all
> > hosts give Error 400. Why ?
>
> Because all hosts match.
>
> This is not the best way to do it, wildcards are
On 27-Feb-2010, at 04:20, Nilesh Govindarajan wrote:
>
> This configuration has to be placed after all good vhosts; Otherwise all
> hosts give Error 400. Why ?
Because all hosts match.
This is not the best way to do it, wildcards are discouraged.
As Frank said:
On 26-Feb-2010, at 10:22, Frank