After reading for several hours tonight, I think I may need some help. When I create a "VirtualHost" and new IBay it places the DocumentRoot like this on the server:
www.somedomain.com/new_directoryWhat I want to do is simple, I know how to do it via any standard httpd.conf file. However since moving over to e-smith, I am having some problems and would like some guidance. (like I stated above, I have searched the archives for about 4 hours this evening - words searched on "custom-templates httpd.conf" and so on)
I want to have multiple sites running on e-smith, I want them to run as this:
www.somedomain1.comwww.somedomain2.comwww.somedomain3.comI need to have the "DocumentRoot" point back to the correct location from within the httpd.conf file.
So is this how I do it ?
# Step 1 #
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
# Step 2 #
#This is where I get hung up at ?
pico "some file", it states to add a number to it ?, like "81VirtualHosts", I think. What file do I create ? What is the name of it ?
# Step 3 #
#Add the text to the file:
##################
ServerName www.somedomain1.com
DocumentRoot /home/e-smith/files/ibays/somedoamin1/html
ErrorLog /home/e-smith/files/ibays/somedomain1/error_log
CustomLog /home/e-smith/files/ibays/somedomain1/access.log combined
Options None
AllowOverride None
order deny,allow
deny from all
allow from none
##########################
# Step 3 #
#Run
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
What do I not get ? Am I completely lost ?
Thanks for any help and not laughing !
G
gman_at_accelerus.com