Loganathan Ramasamy wrote:
> Let us assume my hostnames 2287 and 2288 . How should I go about
> creating a
>
> I tried the following is it correct ?
Nope. You should have something like:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName BLRD2287
DocumentRoot /www/docs/dummy-host.example.com
</VirtualHost>
<VirtualHost *:80 >
ServerName BLRD2288
DocumentRoot /www/docs/dummy-host.example.com
</VirtualHost>
*AND* you should specify two different DocumentRoot (otherwise
both will point to the same data, then were is the advantage in
using VHosts?)
*IF* your Apache is listening on port 80. At this point you should
be able to get one or the other by using http://blrd2287/ or
http://blrd2288/
Davide
---------------------------------------------------------------------
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]