[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

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 mightydre...@gmail.com 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

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 tevans...@googlemail.com 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

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 mightydre...@gmail.com wrote: On Tue, Jul 13, 2010 at 7:12 PM, Tom Evans tevans...@googlemail.com 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

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 4:31 PM, Tapas Mishra mightydre...@gmail.com 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