Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 4:31 PM, Tapas Mishra wrote: > In this setup you have assumed server name default. > In case I want a request when does not match any of the ServerNames > I need to have a server name which is generating a redirect to an > index page which asks user to enter correct URL > d

Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tapas Mishra
In this setup you have assumed server name default. In case I want a request when does not match any of the ServerNames I need to have a server name which is generating a redirect to an index page which asks user to enter correct URL do you mean this by above. -

Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 3:21 PM, Tapas Mishra wrote: > On Tue, Jul 13, 2010 at 7:12 PM, Tom Evans wrote: > > >> Commonly, people set up the first vhost as a 'failure' vhost, that >> people only visit if they request a vhost that is not configured, >> which can then be used to redirect people on t

Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tapas Mishra
On Tue, Jul 13, 2010 at 7:12 PM, Tom Evans wrote: > Commonly, people set up the first vhost as a 'failure' vhost, that > people only visit if they request a vhost that is not configured, > which can then be used to redirect people on to the right vhost or > display an appropriate error message.

Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 1:34 PM, Tapas Mishra wrote: > I am having some websites and by default a website whose vhost > configuration is first alphanumerically is being served. > I do not want this to happen. > i.e. when I am typing http://192.168.1.5/ > by default a website is being served > inst

[us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tapas Mishra
I am having some websites and by default a website whose vhost configuration is first alphanumerically is being served. I do not want this to happen. i.e. when I am typing http://192.168.1.5/ by default a website is being served instead I need is some thing here which shows me different directories