This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

custom document root
#1
custom document root
Hello friends


i have a question for you...

when i create a new domain, it automatically generates the "vhost configuration": 

<virtualhost *:80>
ServerName mysite.com
ServerAlias  www . mysite.com
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mysite_com"

i can't modify /etc/sentora/configs/apache/httpd-vhosts.conf  , because this file will be overwritten
so i modify Module Admin -> Apache config -> Vhost:

<virtualhost *:80>
ServerName mysite.com
ServerAlias  www . mysite.com
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mysite_com/otherfolder/"

But it's not working....
i don't understand why.

help please
thanks!
Reply
Thanks given by:


Messages In This Thread
custom document root - by garrablanka - 12-22-2015, 04:12 PM
RE: custom document root - by TGates - 12-23-2015, 05:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
root limits sentora thanhlan2103 0 3 ,248 11-02-2018, 06:11 PM
Last Post: thanhlan2103
sentora root limits mohamadcom 4 10 ,956 01-25-2018, 08:21 AM
Last Post: TGates
ROOT Login CMs222 6 13 ,688 01-25-2018, 07:50 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)