Hi Tim,
Thanks for coming to the rescue grin!
Well they say to put a wild card in the example that they give in the Apache
book but that is no problem to change. I also do have a NameVirtualHost.
here is what it looks like.
NameVirtualHost *:80
What I am hoping to see here is the index.php file from my Content
Management System and I am not seeing that at all. I think once I get one
NameVirtualHost and VirtualHost down then I will be able to do others. Just
wondering I want to also make virtual hosts for bugzilla, svn, and mailman.
Do I just use the knowledge that I gathered from this to make them virtually
too? Also does a NameVirtualHost block need to be specified any time I use
a different port? For example, I might want Bugzilla on port 8080?
Scott
----- Original Message -----
From: "Tim" <ignored_mailbox@xxxxxxxxxxxx>
To: "For users of Fedora" <fedora-list@xxxxxxxxxx>
Sent: Wednesday, August 08, 2007 3:09 PM
Subject: Re: a couple questions about virtual hosts in Apache
On Wed, 2007-08-08 at 13:17 -0500, Scott wrote:
I am needing to set up a virtual host for Pilotalk.com because I have
more than one server I need to run on the Linux machine. I am having
a problem where my web site does not come up and I am pretty certain
that my NameVirtualHost and virtualHosts blocks are correct. Here is
what they look like:
<VirtualHost *:80>
ServerAdmin webmaster@xxxxxxxxxxxx
DocumentRoot /var/www/html
ServerName pilotalk.com
ServerAlias pilotalk.com *.pilotalk.com
ErrorLog logs/PilotalkBraillesoft.com-error_log
CustomLog logs/PilotalkBraillesoft.com-access_log common
</VirtualHost>
<VirtualHost *:80>
ServerName www.pilotalk.com
DocumentRoot /var/www/html/PilotalkBraillesoft.com
DirectoryIndex index.php
</VirtualHost>
They look essentially correct, though the top one has a wildcard for
pilotalk.com the next one has another pilotalk.com domain, I think you
might be confusing things. Why did you put the wildcard in there? What
are you hoping to match?
Do you have a NameVirtualHost directive before them, somewhere?
e.g. NameVirtualHost *:80
When playing with virtual hosts, you may have to change some of the main
configuration, too. I had to do so with an older version of Apache, I
haven't tried configuring virtual hosts on a newer one since FC4.
Though that may have been just down to needing to do something special,
for my own sake. I can't really recall, now. It all depends on how you
want your defaults handled - when someone connects to your IP without
the request including a hostname, what site should they get?
What do you mean by "does not come up"? The server doesn't start, you
don't get the pages you expect when you browse to it, something else?
--
(This box runs FC5, my others run FC4 & FC6, in case that's
important to the thread.)
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007
4:06 PM
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list