[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] two issues (redirecting domain and groupfile lock)



Steve and All,

> But there is an /etc/locks/ directory.  Try there.

Thank you. I found the group lock file and removed it.
I can now add virtual sites again.

On to my questions:

> You can do this, but it's overkill.  Use the ServerAlias line, but instead
> of replacing one of the existing ServerAlias lines add two more:
> 
> ServerAlias newdomain.com
> ServerAlias www.newdomain.com
> 
> On newer versions of Apache you can even do the following, but I'm not sure
> about the Apache 1.3.x that's factory installed on the RaQ2.
> 
> ServerAlias newdomain.com www.newdomain.com

I tried doing it on the same line and it did not work. Though, I do not think I restarted httpd properly.
I tried to do a kill -HUP on the httpd with the lowest PID (thinking this would be the parent httpd). Can
someone reccomend a better way to start apache after I've done the editing of httpd.conf ?

> And make sure both have A records pointing to the same IP as
> www.existingvirtualdomain.com.

OK, so far we have been pointing all domains to the same IP as the raq (eth0 IP). Will this cause a problem
when I don't have a virtual site entry for the new domain, but only a ServerAlias ?

> My preferred solution is to store VirtualHost containers that I have edited
> in a separate file so they're not overwritten by the Cobalt GUI.  Anywhere
> in httpd.conf add:
> 
> Include /etc/httpd/conf/httpd_other.conf (or whatever you want to name it).

Oh, I've not seen that done before. Can I put the Include in httpd.conf at any point I want or does it need to be
in a particular place?

Thanks again for the help. I really appriciate this list! :)

Kindly,

Ashby Gochenour
OSS Engineering
NTELOS