From: Michael Sullivan <michael@espersunited.com>
To: gentoo-user <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] OT - Need help setting up a name-based virtual host in Apache
Date: Wed, 21 Feb 2007 11:28:31 -0600 [thread overview]
Message-ID: <1172078911.11148.17.camel@camille.espersunited.com> (raw)
I hope this email gets to the list. My last post didn't. This is
semi-urgent. Over the past year I've been developing a PHP-based web
interface for my college's music festival. This web interface would
allow participating directors to enter all their information via the
Internet, rather than having to send it to us and having us do all the
work. The interface is now ready for widespread use (as opposed to the
handful of directors I've had testing it and returning feedback.) The
problem is this: The web address of the interface is
http://camille.espersunited.com/~festival . I want to them to be able
to use http://festival.espersunited.com because it's easier to remember
(some of them don't remember that they have bookmarks.) I created a
file in /etc/apache2/vhosts.d for this:
camille vhosts.d # cat 01_festival_vhost.conf
<VirtualHost *>
ServerName festival.espersunited.com
DocumentRoot /home/festival/webspace/html
<Directory /home/festival/webspace/html>
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
>From the information I can find for what I'm trying to do, this seems to
be the correct syntax. I set up a CNAME record in my espersunited.com
DNS configuration to point festival.espersunited.com at
camille.espersunited.com . However, when I reloaded apache2 and went to
http://festival.espersunited.com, instead of seeing the interface
at /home/festival/webspace/html/index.php, I
saw /var/www/localhost/htdocs/index.html . Is something wrong with my
config? Please help!
-Michael Sullivan-
--
gentoo-user@gentoo.org mailing list
next reply other threads:[~2007-02-21 17:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-21 17:28 Michael Sullivan [this message]
2007-02-21 22:55 ` [gentoo-user] OT - Need help setting up a name-based virtual host in Apache Daniel Iliev
2007-02-22 8:01 ` Zachary Grafton
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=1172078911.11148.17.camel@camille.espersunited.com \
--to=michael@espersunited.com \
--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