Re: [gentoo-user] Apache vhosts.d settings [SOLVED]

2006-03-15 Thread Tito

Mickey,

Thanks for the help...that solved it!!  :-D

Thanks,
Tito

Mickey Mullin wrote:


On 15/03/06, Tito <[EMAIL PROTECTED]> wrote:
 


I am trying to add more than one virtual host in my vhost.conf file.  I
added and 01 and an 02 entry in the vhost.d directory.  Once I add those
am I supposed to removed 00 entry which is the default from the
httpd.conf file?  I tried both ways but it was still not working.  What
is the proper way to bind the ip address for the different vhosts
()?  I need to know this so that I can set it properly
for each vhost file for 00, 01, and 02.
   



In my httpd.conf file, I have only:

Include /etc/apache2/vhosts.d/*.conf

and I DO still have (and want) my 00_default_vhost.conf file in
vhosts.d/. It is possible to put all your domains in a single
*vhost.conf file, but I split mine into a separate file for each. Not
sure of the Gentoo convention, but I prefer separate files.

Is this name-based virtual hosts?  If so, you need

ServerName domainname.com
DocumentRoot "/var/www/domain.com/htdocs" #optional but
recommended convention
#rest of config


If it's IP-based, replace * with the IP address.  I THINK that the
ServerName attribute is only necessary for multiple domains on the
same IP (which can also be the case on a box with multiple IP
addresses, of course).

Cheers,
Mickey

 



--
Gilberto "Tito" Valentin
Information Technology Manager
Linux Systems/Network Administrator

EZ Yield.com, Inc.
481 N. State Road 434 Suite 117
Altamonte Springs, FL 32714

v 407.629.0900 ext 29

IMPORTANT NOTICE:
The information contained in this e-mail message
may be privileged and confidential. If you are
not the intended recipient, any further
disclosure or use, distribution, or copying of
this message or any attachment is strictly
prohibited. If you have received this e-mail
message in error, please delete the e-mail, and
either e-mail the sender at the above address or
notify us at our telephone number (407) 629-0900.
Internet e-mail may be subject to delays,
non-delivery and unauthorized alterations,
therefore opinions, conclusions and other
information expressed are not binding upon
EZ Yield.com unless otherwise notified
independently of this message. 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache vhosts.d settings

2006-03-15 Thread Mickey Mullin
On 15/03/06, Tito <[EMAIL PROTECTED]> wrote:
> I am trying to add more than one virtual host in my vhost.conf file.  I
> added and 01 and an 02 entry in the vhost.d directory.  Once I add those
> am I supposed to removed 00 entry which is the default from the
> httpd.conf file?  I tried both ways but it was still not working.  What
> is the proper way to bind the ip address for the different vhosts
> ()?  I need to know this so that I can set it properly
> for each vhost file for 00, 01, and 02.

In my httpd.conf file, I have only:

Include /etc/apache2/vhosts.d/*.conf

and I DO still have (and want) my 00_default_vhost.conf file in
vhosts.d/. It is possible to put all your domains in a single
*vhost.conf file, but I split mine into a separate file for each. Not
sure of the Gentoo convention, but I prefer separate files.

Is this name-based virtual hosts?  If so, you need

 ServerName domainname.com
 DocumentRoot "/var/www/domain.com/htdocs" #optional but
recommended convention
 #rest of config


If it's IP-based, replace * with the IP address.  I THINK that the
ServerName attribute is only necessary for multiple domains on the
same IP (which can also be the case on a box with multiple IP
addresses, of course).

Cheers,
Mickey

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Apache vhosts.d settings

2006-03-15 Thread Tito

Hello List,

I am trying to add more than one virtual host in my vhost.conf file.  I 
added and 01 and an 02 entry in the vhost.d directory.  Once I add those 
am I supposed to removed 00 entry which is the default from the 
httpd.conf file?  I tried both ways but it was still not working.  What 
is the proper way to bind the ip address for the different vhosts 
()?  I need to know this so that I can set it properly 
for each vhost file for 00, 01, and 02.


Thanks in advance,
Tito

--
gentoo-user@gentoo.org mailing list