httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From waldo kitty <wkitt...@alltel.net>
Subject Re: Virtual hosts problem
Date Wed, 13 Feb 2002 02:43:57 GMT

i'm unable to get any of those domains to resolve in the DNS (at this
time)... might be something on my end, i dunno... in any case, i thought
i would toss that in as other have asked you about that aspect...

"David Jarrell - @home" wrote:
> 
> Hello all,
> This is my first post to this list so please bear with me.
> 
> I've been an apache user for months now and I must say that it is an
> excellent program. What I've come to now, however, leaves me scratching my
> head without a clue. I run a website for my Boy Scout troop which is hosted
> on a FreeBSD 4.5 box. I have run a standard install of the server 1.3.22 for
> a while now, and have just installed 1.3.23 recently as I reinstalled my OS
> on some new drives. I run mod_php4 as well.
> 
> My problem is, I would like to set up another site on my server where I
> could have a web page for my friends and family that would be totally
> separate from the troop's site. I have attempted to do this with apache's
> virtual host feature. However, I have run into problems.
> 
> I attached part of my httpd.conf file below. The configuration below gives
> odd results. The ideal results would be that http://bishop.troop85.org would
> get the viewer to the bishop site, and http://troop85.org or
> http://www.troop85.org would get the user to the usual troop site.
> 
> But, what's happening is that ANY address OTHER than bishop or www takes the
> user to the bishop page, http://bishop.troop85.org/ doesn't work at all, and
> the only one that gets to the boy scout site is http://www.troop85.org.
> 
> I've read some web pages and searched a bit in the archives to try to find a
> similar situation, but cannot. I would very much appreciate any light anyone
> can shed on this. Should there be some setting in my /etc/hosts file that
> I'm missing? What about my DNS? I'm using register.com, so should I change
> my domain alias setup? I already have one configured for pointing
> bishop.troop85.org to bishop.troop85.org. I hope I've provided enough info
> to get this ball rolling.
> 
> Regards,
> David Jarrell
> djarrell2@home.com
> 
> #
> # Use name-based virtual hosting.
> #
> NameVirtualHost *
> #
> # VirtualHost example:
> # Almost any Apache directive may go into a VirtualHost container.
> # The first VirtualHost section is used for requests without a known
> # server name.
> #
> <VirtualHost *>
> DocumentRoot /usr/local/www/data/bishop/html
> ServerName bishop.troop85.org
> </VirtualHost>
> <VirtualHost *>
> DocumentRoot /usr/local/www/data/PHP-nuke/html
> ServerName www.troop85.org
> </VirtualHost>
> 
> ---------------------------------------------------------------------
> 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
> For additional commands, e-mail: users-help@httpd.apache.org

-- 
       _\/
      (@@)                      Waldo Kitty, Waldo's Place USA
__ooO_( )_Ooo_____________________ telnet://bbs.wpusa.dynip.com
_|_____|_____|_____|_____|_____|_____ http://www.wpusa.dynip.com
____|_____|_____|_____|_____|_____|_____ ftp://ftp.wpusa.dynip.com
_|_Eat_SPAM_to_email_me!_YUM!__|_____|_____ wkitty42 (at) alltel.net

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message