public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John Dangler" <jdangler@atlantic.net>
To: <gentoo-user@lists.gentoo.org>
Subject: RESOLVED [gentoo-user] Apache vhosts revisited
Date: Mon, 5 Sep 2005 14:42:54 -0400	[thread overview]
Message-ID: <002c01c5b249$b2cec820$0501a8c0@croatus> (raw)
In-Reply-To: <001f01c5b233$a27526b0$0501a8c0@croatus>

It turns out that this (and probably the OP’s problem as well) isn’t related
to Apache at all, but a networking issue.
As long as the /etc/hosts files match on both machines, all is well…
It also turns out that, even though deprecated in the RFC’s, an underscore
is not legal in a virtual host name.
Thanks to sub on the IRC channels for the input!

John D

-----Original Message-----
From: John Dangler [mailto:jdangler@atlantic.net] 
Sent: Monday, September 05, 2005 12:05 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Apache vhosts revisited
Importance: High

After going back through the entire thread dealing with the vhosts problem
that was running here recently, I tried to setup my local fileserver with
the ‘default’ apache server, and adding 1 virtual host.
 
my apache2.conf file is basically a default (out of the box) setup, with the
line
Include conf/vhosts/vhsots.conf uncommented so that it is included.
 
my vhosts.conf file has
<NameVirtualHost 192.168.1.36:80>
 
<VirtualHost 192.168.1.36:80>
  ServerName Mambo
  DocumentRoot /var/www/localhost/htdocs>
</VirtualHost>
 
<VirtualHost 192.168.1.36:80>
  ServerName GenoFit
  DocumentRoot /usr2/genofit/public
  <Driectory /usr2/genofit/public>
    order deny,allow
    Allow from all
    AllowOverride All
    Options FollowSymLinks
  </Directory>
</VirtualHost>
 
from the local machine, both hosts are accessible.
from another machine on the same router (192.168.1.35):
browsing to 192.168.1.36 gives me the Apache default page.
browsing to 192.168.1.36/GenoFit gives me “Not Found” The requested URL
/GenoFit was not found on the server
browsing to 192.168.1.36/Mambo gives me “Not Found” The requested URL /Mambo
was not found on the server
 
ping works in both directions, so I’m sure that it’s something I did/didn’t
do correctly in the config files.
After reading through the wiki docs on virtual hosts, and the docs on the
apache site (which are a little harder to digest), I think that the vhosts
file is ok, but I’m not sure about the apache2.conf file…
 
Any input is appreciated.
 
John D



-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-09-05 18:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-05 16:04 [gentoo-user] Apache vhosts revisited John Dangler
2005-09-05 18:42 ` John Dangler [this message]
2005-09-05 20:17 ` q-parser
2005-09-05 21:48   ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002c01c5b249$b2cec820$0501a8c0@croatus' \
    --to=jdangler@atlantic.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox