You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by CJ <un...@yahoo.com> on 2003/11/11 20:39:09 UTC
[users@httpd] virtual host problem
What is wrong with this entry?
It does not work at all. My browser session hangs and
never gets a page back.
> #NameVirtualHost *
> # Fake VH to trap host-less requests
>
> <VirtualHost *>
> ServerName test.foo.com
> DocumentRoot /www/test
> Redirect / http://test.foo.com/
> </VirtualHost>
> #
> # Real VH
> <VirtualHost *>
> Servername www.foo.com
> DocumentRoot /www/public
> </VirtualHost>
Errors here:
> ./apachectl start
> [Tue Nov 11 14:32:35 2003] [warn] _default_
> VirtualHost overlap on port 80, the first has
> precedence
> ./apachectl start: httpd started
=====
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] virtual host problem
Posted by CJ <un...@yahoo.com>.
Thanx all taking out the redirect and the comment
mentioned here fixed it.
Brain cramp on Monday.. Oh wait its Tuesday
Thanx again
--- Joshua Slive <jo...@slive.ca> wrote:
>
> On Tue, 11 Nov 2003, CJ wrote:
>
> > What is wrong with this entry?
>
> > > #NameVirtualHost *
>
> Well, for one thing, the NameVirtualHost directive
> is commented out.
>
> Joshua.
>
>
---------------------------------------------------------------------
> 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:
> users-unsubscribe@httpd.apache.org
> " from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
>
=====
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] virtual host problem
Posted by Joshua Slive <jo...@slive.ca>.
On Tue, 11 Nov 2003, CJ wrote:
> What is wrong with this entry?
> > #NameVirtualHost *
Well, for one thing, the NameVirtualHost directive is commented out.
Joshua.
---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org