Help - Search - Members - Calendar
Full Version: Ensim Sub Domains Root Directory !
The Planet Forums > Control Panels > Ensim > Ensim HOWTOs
learner
Hi

Does Ensim setup sub domains as actual sub domains or sub directory ?

The DOCUMENT_ROOT for all my sub domains keeps pointing to the main domain path instead of the sub domain

i.e is always points to

/home/virtual/site#/fst/var/www/html

instead of

/home/virtual/site#/fst/var/www/html/subdomain.domain.com/

Is there a way fo fix the DOCUMENT_ROOT of sub domains to point to the actual sub domain upon setup with Ensim panel or any other way to change the DOCUMENT_ROOT once created ?

I am on Ensim Pro 4.0.3-22.rhel.3ES

Thank You
learner
Hi

Can anyone help me on this ?

I have gone through the httpd.conf file and includes and can see that sub domains document_root, and site_htmlroot are in a site[x] file under /etc/httpd/conf/virtual.

I tried adding this in the file for the site I want the path changed with no luck

QUOTE

 ServerName subdomain.xyz.com
 DocumentRoot /home/virtual/site[x]/fst/var/subdomain/*/html/
 
 SetEnv SITE_ROOT /home/virtual/site[x]/fst/var/subdomain/*/
 SetEnv SITE_HTMLROOT /home/virtual/site[x]/fst/var/subdomain/*/html



Is there a way to do this in may be a .htaccess file under the sub domain root directory ?

Please anyone !!!! :o
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.