Redhat Enterprise ES3

asm0deus

Golden Member
Aug 18, 2003
1,181
0
76
We're trying to add some virtualhosts to our redhat server. The virtualhost directives go in httpd.conf right?

Was also wondering what a segmented server is, our old redhat box has an entirely different directory structure and our IT guy says the old setup is segmented, we want to replicate this, the structure is like: /home/apache/sites/hostname/standard instead of our current default structure: /var/www/html

Is there a name for this type of setup? Basically our default install of redhat enterprise came in a single host config and we need to set it up for multi-hosting. help? thanks!!

 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Yeah, they go in httpd.conf. Pretty simple after you've figured them out. :)

"segmented server" could mean any number of things. It sounds like the admin just means that everything is currently setup for 1 directory instead of multiple directories. All of that stuff should be customizable in the httpd.conf.

The apache defaults aren't lame at all, in fact I think they're pretty good.
 

Stan

Senior member
Jan 4, 2005
614
0
0
Just change the destination directory to /home/whereveruwantit/

*EVERY* install of Apache comes as a single host.
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
If you expect to have many virtual hosts you can always split it up into one for per host.
Personal preference I guess, but I think it makes management alot easier.