On Tue, Jul 13, 2010 at 3:21 PM, Tapas Mishra <[email protected]> wrote:
> On Tue, Jul 13, 2010 at 7:12 PM, Tom Evans <[email protected]> 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.
> Can you give me an example or link for this.
>
> --
> Tapas
>
<VirtualHost *:80>
ServerName default
Redirect / http://proper-site.com/
</VirtualHost>
<VirtualHost *:80>
ServerName www.foo.com
...
</VirtualHost>
Tom
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]